Description Usage Arguments Author(s) References See Also
This function makes predictions at particular points along the fitted
glmpath.
The linear predictor, estimated response,
log-likelihood, or the coefficients can be computed.
1 2 3 4 |
object |
a |
newx |
a matrix of features at which the predictions are made. If
|
newy |
a vector of responses corresponding to |
s |
the values of |
type |
If |
mode |
what |
weight |
an optional vector of weights for observations. |
offset |
|
eps |
an effective zero |
... |
other options for the prediction |
Mee Young Park and Trevor Hastie
Mee Young Park and Trevor Hastie (2006) L1 Regularization Path Algorithm for Generalized Linear Models - available at the authors' websites, http://stat.stanford.edu/~mypark or http://stat.stanford.edu/~hastie/pub.htm.
cv.glmpath, glmpath, plot.glmpath
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.