predict.sparseR | R Documentation |
Predict coefficients or responses for sparseR object
## S3 method for class 'sparseR'
predict(object, newdata, lambda, at = c("cvmin", "cv1se"), ...)
## S3 method for class 'sparseR'
coef(object, lambda, at = c("cvmin", "cv1se"), ...)
object |
sparseR object |
newdata |
new data on which to make predictions |
lambda |
a particular value of lambda to predict with |
at |
a "smart" guess to use for lambda |
... |
additional arguments passed to predict.ncvreg |
predicted outcomes for 'newdata' (or coefficients) at specified (or smart) lambda value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.