predict.grpsel {grpsel} | R Documentation |
Predict function for grpsel object
Description
Generate predictions for new data using specified values of the tuning parameters.
Usage
## S3 method for class 'grpsel'
predict(object, x.new, lambda = NULL, gamma = NULL, ...)
Arguments
object |
an object of class |
x.new |
a matrix of new values for the predictors |
lambda |
the value of |
gamma |
the value of |
... |
any other arguments |
Value
A matrix of predictions.
Author(s)
Ryan Thompson <ryan.thompson@monash.edu>
[Package grpsel version 1.3.1 Index]