Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/predict.glinternet.cv.r
Similar to other predict methods, this function returns fitted values on the response scale. Also gives the option to return the link function.
1 2 3 |
object |
|
X |
Matrix of new values for which to make predictions. Must have the same number of variables as during training the model, and all the variables must have the same number of levels. |
type |
Return fitted |
lambdaType |
|
... |
Not used. |
Makes predictions using the model fitted at the appropriate lambda value.
A vector of predicted values.
Michael Lim and Trevor Hastie
Maintainer: Michael Lim michael626@gmail.com
glinternet
, glinternet.cv
, predict.glinternet
1 2 3 4 5 6 |
Loaded glinternet 1.0.8
[1] 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.