Description Usage Arguments Details Value Author(s) Examples
Compute fitted values or predictions for "lassogrp"
objects
(typically resulting from lasso()
), or get
(“extract”) other information from such an object.
1 2 3 4 5 6 7 8 9 |
object,x |
an object of class |
newdata |
data.frame containing the new regressors for which the predictions are required. |
type |
type of prediction |
na.action |
action for missing values, see |
... |
not used (needed for compatibility) |
The fitted values are equal to response predictions for the observations used for fitting.
matrix of fitted or predicted values. Columns correspond to lambda values,
rows, to observations in newdata
.
Werner Stahel, stahel@stat.math.ethz.ch
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.