| predict.l0ara | R Documentation |
"l0ara" objectGenerate linear predictors, response-scale predictions, class
labels, or fitted coefficients from a "l0ara" fit.
## S3 method for class 'l0ara'
predict(
object,
newx,
type = c("link", "response", "coefficients", "class"),
...
)
object |
Fitted "l0ara" object. |
newx |
Matrix of new predictor values. If omitted, predictions are made
for the training design matrix stored in |
type |
Type of prediction required. |
... |
Not used argument. |
For Gaussian models, type = "link" and
type = "response" return the same values.
The return value depends on type: a numeric vector of linear
predictors or response-scale predictions, a named coefficient vector, or a
numeric vector of 0/1 class labels.
Wenchuan Guo <wguo007@ucr.edu>, Shujie Ma <shujie.ma@ucr.edu>, Zhenqiu Liu <Zhenqiu.Liu@cshs.org>
coef.l0ara, l0ara.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.