predict.plasso | R Documentation |
Predict after Post-Lasso.
## S3 method for class 'plasso'
predict(plasso, xnew = NULL, se_rule = 0, weights = FALSE)
plasso |
|
xnew |
Matrix of new values for x at which predictions are to be made |
se_rule |
If equal to zero predictions from CV minimum (default). Negative values go in the direction of smaller models (e.g. se_rule=-1 creates the standard 1SE rule), positive values go in the direction of larger models (e.g. se_rule=1 creates the standard 1SE+ rule) |
weights |
If TRUE, weights underlying the prediction for xnew calculated |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.