quickLm | R Documentation |
This function uses C++ to quickly fit linear models. Depends on fastLm.cpp.
quickLm(xVec, yVec)
xVec , yVec |
Numeric vectors of equal length representing predictor and response variables in linear model. |
Returns a list of model coefficients.
x <- rnorm(10, 0, 1)
y <- 2*x + 1
quickLm(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.