powered by
train
resampleHist(object, type = "density", ...)
trellis
histogram.train
densityplot.train
xyplot.train
stripplot.train
For the plot to be made, the returnResamp argument in trainControl should be either "final" or "all".
returnResamp
trainControl
histogram
densityplot
## Not run: # data(iris) # TrainData <- iris[,1:4] # TrainClasses <- iris[,5] # # knnFit <- train(TrainData, TrainClasses, "knn") # # resampleHist(knnFit) # ## End(Not run)
Run the code above in your browser using DataLab