predict.ss_glmaag: Prediction via stability selection
Description
Predict using the model tuned by stability selection
Usage
# S3 method for ss_glmaag
predict(object, x, type = "link", ...)
Arguments
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