predict.regsubsets: Regsubsets Predict Function

Description Usage Arguments

View source: R/predictRegsubsets.R

Description

This function is used for predicting the forward selection results on a test set. This is from the ISLR textbook.

Usage

1
2
## S3 method for class 'regsubsets'
predict(object, newdata, id)

Arguments

object

an object with a call list

newdata

data used to produce predictions

id

id


KThompson0308/RUtilities documentation built on Dec. 8, 2019, 8:30 a.m.