Description Usage Arguments Details Examples
Defines a linear prediction model.
1 | eta.lm(y, x, x.pred)
|
y |
n x 1 vector of outcomes. |
x |
n x p matrix of covariates. |
x.pred |
m x p matrix of covariates for which to predict the outcome. |
This function returns predictions produced by a linear model.
1 | eta.lm()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.