Plot one metric versus another for each methodSource:
This function is used when both evaluated metrics are vector-valued, so a
curve is plotted, parametrized by the two metrics. To plot a single metric
that is vector-valued, pass NULL for metric_name_x. This behaves similarly
plot(runif(5)), in which the x-axis variable is simply
If evals is a
listofEvals, then each model will be its own plot.
plot_evals( object, metric_name_x, metric_name_y, use_ggplot2 = TRUE, main, facet_mains, xlab, ylab, xlim, ylim, include_zero = FALSE, legend_location = "topright", method_col = seq(num_methods), method_lty = rep(1, num_methods), method_lwd = rep(1, num_methods), method_pch = rep(NA, num_methods), ... )
the name of metric to plot on x axis (or NULL)
the name of metric to plot on y axis
whether to use
ggplot2(requires installation of
title of plot. Default is
model_labelwhen evals is a single Evals.
only to be used when evals is a
listofEvalsand should be of the same length. Default will be the model_label for each model.
the x-axis label (default is
the y-axis label (default is
the limits of the x-axis
the limits of the y-axis
whether ylim should include 0. Ignored if ylim is passed explicitly
location of legend. Set to NULL to remove legend.
color to use for each method
line style to use for each method
line thickness to use for each method
point style to use for each method (default is that no points, only lines are drawn)
additional arguments to pass to
use_ggplot2 = FALSE).