inst/doc/stepwise.R

## ----eval=FALSE----------------------------------------------------------
#  library("caret")
#  data(BostonHousing, package = "mlbench")
#  ## an rfeControl object is the analog to trainControl in the
#  ## recursive feature elimination algorithm
#  rc = rfeControl(method = "cv")
#  rfe(medv~., data = BostonHousing, sizes = 4:6, rfeControl = rc,
#      trControl = trainControl(method = "cv"), method = "lm")
jr-packages/jrPred documentation built on May 6, 2019, 7:17 a.m.