predict.groupfs {selectiveInference} | R Documentation |
Prediction and coefficient functions for groupfs
.
Description
Make predictions or extract coefficients from a groupfs forward stepwise object.
Usage
## S3 method for class 'groupfs'
predict(object, newx)
Arguments
object |
Object returned by a call to |
newx |
Matrix of x values at which the predictions are desired. If NULL, the x values from groupfs fitting are used. |
Value
A vector of predictions or a vector of coefficients.
[Package selectiveInference version 1.2.5 Index]