Function plots a ggplot2 plot to visualize resampling results of caret models with 1 tuned parameter.

qplot_resamples(x, data = NULL, metric = x$metric, ..., LIMITS = "auto")

Arguments

x

an object generated by resamples

data

Only used for the ggplot method; an object generated by resamples

metric

a character string for which metrics to use as conditioning variables in the plot. splom requires exactly one metric when variables = "models" and at least two when variables = "metrics".

...

further arguments to pass to either histogram, densityplot, xyplot, dotplot or splom

LIMITS

limits for y axis (numeric vector with 2 elements).

Value

A ggplot2 object.