Description Usage Arguments Value Examples
Predict using the model tuned by stability selection
1 2 |
object |
the ss_glmaag object |
x |
the new dataset to be predicted, do training prediction if x is missing |
type |
type of prediction (can be "link", or "reponse" ), ignored for Gaussian model. "link" is the linear predicted score, "response" is the predicted probability for logistic model and relative risk for Cox model |
... |
... |
the predicted values
1 2 3 4 5 6 | data(sampledata)
data(L0)
y <- sampledata$Y_Gau
x <- sampledata[, 4:6]
mod <- ss_glmaag(y, x, L0[seq_len(3), seq_len(3)], nsam = 3)
pp <- predict(mod)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.