View source: R/predictRegsubsets.R
This function is used for predicting the forward selection results on a test set. This is from the ISLR textbook.
1 2 | ## S3 method for class 'regsubsets'
predict(object, newdata, id)
|
object |
an object with a call list |
newdata |
data used to produce predictions |
id |
id |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.