When using the function rfe I receive the warning

In x == y : longer object length is not a multiple of shorter object length

more than 50 times.

I call rfe as follows:

nbProfile <- rfe(features.train.50pct, truth.train.50pct, sizes = no.features, rfeControl = nbCtrl)

where
features.train.50pct data frame of 8 named columns, each of 487 rows, numeric
truth.train.50pct       factor of 487 logical elements
sizes                   1, 2, ..., 8
nbCtrl rfeControl(functions = nbFuncs, method = "cv", verbose = F, returnResamp = "final")

Does anybody know to which objects the warnings refer?

Richard R. Liu
Dittingerstr. 33
CH-4053 Basel
Switzerland

Tel.:  +41 61 331 10 47
Mobil: +41 79 708 67 66
Email:  richard....@pueo-owl.ch



______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to