Description Usage Arguments Details Value Author(s) References See Also Examples
Function to make predictions from lars.en fit
1 2 |
object |
Result of call to lars.en |
x |
N by p matrix of predictors |
lambda |
Value of L1- regularization parameter at which predictions are desired |
... |
additional arguments (not used) |
Makes predictions from an objected returned by lars.en
Vector of predicted values.
Rob Tibshirani
Hui Zou and Trevor Hastie. Regularization and Variable Selection via the Elastic Net. JRSSB (2005) 67(2) 301-320.
lars.en, covTest
1 2 3 4 5 |
Loading required package: lars
Loaded lars 1.2
Loading required package: glmnet
Loading required package: Matrix
Loading required package: foreach
Loaded glmnet 2.0-12
Loading required package: glmpath
Loading required package: survival
Loading required package: MASS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.