Create several plots for an object of class checkAgri
Arguments
- x
An object inheriting from class
checkAgri
resulting of executing the functioncheck_design_met()
- type
A character string specifiying the type of plot. "connectivity", "missing" or "boxplot".
- axis_size
Numeric input to define the axis size.
- text_size
Numeric input to define the text size.
- ...
Further graphical parameters. For future improvements.
Examples
library(agridat)
library(agriutilities)
data(besag.met)
dat <- besag.met
results <- check_design_met(
data = dat,
genotype = "gen",
trial = "county",
traits = c("yield"),
rep = "rep",
block = "block",
col = "col",
row = "row"
)
plot(results, type = "missing")
plot(results, type = "boxplot")
#> Warning: Removed 36 rows containing non-finite outside the scale range
#> (`stat_boxplot()`).