Plot boxplot of performance metrics across resamples.
Usage
# S3 method for class 'SupervisedRes'
plot(
x,
what = c("training", "test"),
metric = NULL,
ylab = labelify(metric),
boxpoints = "all",
theme = choose_theme(),
...
)
Arguments
- x
SupervisedRes object.
- what
Character vector: "training", "test". What to print. Default is to print both.
- metric
Character: Metric to plot.
- ylab
Character: Label for the y-axis.
- boxpoints
Character:"all", "outliers" - How to display points in the boxplot.
- theme
Theme object.
- ...
Additional arguments passed to the plotting function.