The issue is the usage of extractPrediction. expred <- extractPrediction(rftrain)
should really be expred <- extractPrediction(list(rftrain)) Since this function is intended to get predictions across multiple models, the man file has a description of the first argument to teh funtion being "a list of objects of the class train." -- Max ______________________________________________ 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.