prediction_error_plot: prediction_error_plot

View source: R/dCVnet_plotting.R

prediction_error_plotR Documentation

prediction_error_plot

Description

Plot the prediction error of a dCVnet performance object.

Usage

prediction_error_plot(x, bylabel = FALSE, log = FALSE, jitter = 0, plot = TRUE)

Arguments

x

a performance object

bylabel

(bool) should a different facet be plotted for each level of x$label? (typically this is CV repetitions)

log

(bool) should x and y axes be log(1 + x) transformed (useful for poisson)

jitter

(numeric) if nonzero then the requested amount of jitter will be applied to x and y values.

plot

(bool) produce the plot? or just return the plot and data.

Value

a list containing the plot and source data.


AndrewLawrence/dCVnet documentation built on Sept. 24, 2024, 5:24 a.m.