plot.cvalidation | R Documentation |
Boxplot showing the Root Means Square Prediction Difference of of a cross validation procedure.
## S3 method for class 'cvalidation' plot( x, violin = FALSE, export = FALSE, order_box = FALSE, x.lab = NULL, y.lab = NULL, size.tex.lab = 12, file.type = "pdf", file.name = NULL, plot_theme = theme_metan(), width = 6, height = 6, resolution = 300, col.violin = "gray90", col.boxplot = "gray70", col.boxplot.win = "cyan", width.boxplot = 0.6, x.lim = NULL, x.breaks = waiver(), ... )
x |
An object of class |
violin |
Define if a violin plot is used with boxplot. Default is 'TRUE' |
export |
Export (or not) the plot. Default is |
order_box |
Logical argument. If |
x.lab |
The label of x-axis. New arguments can be inserted as
|
y.lab |
The label of y-axis. New arguments can be inserted as
|
size.tex.lab |
The size of the text in axis text and labels. |
file.type |
The type of file to be exported. Default is |
file.name |
The name of the file for exportation, default is
|
plot_theme |
The graphical theme of the plot. Default is
|
width |
The width 'inch' of the plot. Default is |
height |
The height 'inch' of the plot. Default is |
resolution |
The resolution of the plot. Parameter valid if
|
col.violin |
Parameter valid if |
col.boxplot |
Define the color for boxplot. Default is 'gray70'. |
col.boxplot.win |
Define the color for boxplot of the best model. Default is 'cyan'. |
width.boxplot |
The width of boxplots. Default is |
x.lim |
The range of x-axis. Default is |
x.breaks |
The breaks to be plotted in the x-axis. Default is
|
... |
Currently not used. |
Five statistics are shown in this type of plot. The lower and upper hinges correspond to the first and third quartiles (the 25th and 75th percentiles). The upper whisker extends from the hinge to the largest value no further than 1.5 * IQR from the hinge (where IQR is the inter-quartile range). The lower whisker extends from the hinge to the smallest value at most 1.5 * IQR of the hinge. Data beyond the end of the whiskers are considered outlying points.
An object of class gg, ggplot
.
Tiago Olivoto tiagoolivoto@gmail.com
validation <- cv_ammif(data_ge2, resp = EH, gen = GEN, env = ENV, rep = REP, nboot = 5) plot(validation)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.