| SL.lm | R Documentation |
Wrapper for OLS via lm(), which may be faster than glm().
SL.lm(Y, X, newX, family, obsWeights, model = TRUE, ...)
Y |
Outcome variable |
X |
Training dataframe |
newX |
Test dataframe |
family |
Gaussian or binomial |
obsWeights |
Observation-level weights |
model |
Whether to save model.matrix of data in fit object. Set to FALSE to save memory. |
... |
Any remaining arguments, not used. |
predict.SL.lm lm
predict.lm SL.speedlm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.