present | R Documentation |
Plot training and testing performance boxplots of multiple 'rtModCV“ objects created by train_cv using dplot3_box
present(
...,
mod.names = NULL,
which.repeat = 1,
metric = NULL,
plot.train = TRUE,
plot.test = TRUE,
boxpoints = "all",
annotate_meansd = TRUE,
main = NULL,
ylim = NULL,
htest = "none",
htest.annotate.y = NULL,
col = NULL,
theme = rtTheme,
margin = list(b = 65, l = 100, t = 60, r = 18, pad = 0),
subplot.margin = 0.0666,
filename = NULL,
file.width = 500,
file.height = 550,
file.scale = 1
)
... |
rtModCV objects created with train_cv |
mod.names |
Character: Names of models being plotted. |
which.repeat |
Integer: which |
metric |
Character: which metric to plot. |
plot.train |
Logical: If TRUE, plot training performance. |
plot.test |
Logical: If TRUE, plot testing performance. |
boxpoints |
Character or FALSE: "all", "suspectedoutliers", "outliers" See https://plotly.com/r/box-plots/#choosing-the-algorithm-for-computing-quartiles |
annotate_meansd |
Logical: If TRUE, annotate with mean (SD) of each box |
main |
Character: Plot title. |
ylim |
Numeric vector: y-axis limits |
htest |
Character: e.g. "t.test", "wilcox.test" to compare each box to
the first box. If grouped, compare within each group to the first box.
If p-value of test is less than |
htest.annotate.y |
Numeric: y-axis paper coordinate for htest annotation |
col |
Color, vector: Color for boxes. If NULL, which will draw
colors from |
theme |
Character: Theme to use: Run |
margin |
Named list: plot margins.
Default = |
subplot.margin |
Numeric: margin between subplots. |
filename |
Character: Path to file to save static plot. |
file.width |
Integer: File width in pixels for when |
file.height |
Integer: File height in pixels for when |
file.scale |
Numeric: If saving to file, scale plot by this number |
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.