This is the basic computing engine called by bestfit. This function should not be used directly by the user.

bestfitEst(X, y, t, p, response)

Arguments

X

a design matrix for a regression model

y

the vector of the response variable

t

The transformed data

p

The combinations of transformed variables to be tested

response

The name of the response variable

Value

a vector with adjusted R2 to each fit