powered by
train
print.train(x, digits = min(3, getOption("digits") - 3), printCall = TRUE, ...)
data(iris) TrainData <- iris[,1:4] TrainClasses <- iris[,5] library(klaR) rdaFit <- train(TrainData, TrainClasses, "rda", control = trainControl(method = "cv")) print(rdaFit)
Run the code above in your browser using DataLab