HannaMeyer/CAST

small glitch in man: `ffs()` instead of `train()`

Closed this issue · 1 comments

There's a glitch in

CAST/R/ffs.R

Lines 102 to 103 in 7742933

#' model <- ffs(trainDat[,predictors],trainDat$VW,method="rf",
#' tuneLength=1, trControl=ctrl)

which generates

CAST/man/ffs.Rd

Lines 125 to 126 in 7742933

model <- ffs(trainDat[,predictors],trainDat$VW,method="rf",
tuneLength=1, trControl=ctrl)

I think you want train() instead of ffs() here.

Thanks, you're right.