Description Usage Arguments Value
View source: R/predict.sublasso.R
Similar to other predict methods, this functions predicts fitted values, logits, coefficients and more from a fitted "SubLasso" object.
1 2 |
object |
Fitted "SubLasso" model object. |
xpred |
Matrix of new values for x at which predictions are to be made. Must have the same row with x |
type |
type=c("link","response","class"). Default is "class";Type of prediction required. Type "link" gives the linear predictors; Type "response" gives the fitted probabilities; Type "class" produces the class label corresponding to the maximum probability. |
s |
Value(s) of the penalty parameter lambda at which predictions are required. Default is obtained by CV method. |
... |
Currently not used |
Predy |
it depends on type. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.