Description Usage Arguments Value Author(s) Examples
Predict response of a new sample Xnew at a given level of penalty
1 2 3 |
object |
a LarsParth object |
Xnew |
a matrix (of size n*object@p) of covariates. |
lambda |
If mode ="norm", lambda represents the l1-norm of the coefficients with which we want to predict. If mode="fraction", lambda represents the ratio (l1-norm of the coefficientswith which we want to predict)/(l1-norm maximal of the LarsPath object). |
mode |
"fraction", "lambda" or "norm". |
... |
other arguments. Not used. |
The predicted response
Quentin Grimonprez
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.