Simple regression function. Faster than lm()

regress(X, Y)

Arguments

X

a matrix of predictor data

Y

a vector of predictand data

Value

model coefficients

See also

Author

Nick McKay