plot.checkAgri {agriutilities} | R Documentation |
Plot an object of class checkAgri
Description
Create several plots for an object of class checkAgri
Usage
## S3 method for class 'checkAgri'
plot(
x,
type = c("connectivity", "missing", "boxplot"),
axis_size = 15,
text_size = 5,
...
)
Arguments
x |
An object inheriting from class |
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. |
Value
A ggplot object.
Author(s)
Johan Aparicio [aut]
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")
[Package agriutilities version 1.2.0 Index]