View source: R/utils_S3_methods.R
plot.checkAgri | R Documentation |
checkAgri
Create several plots for an object of class checkAgri
## S3 method for class 'checkAgri'
plot(
x,
type = c("connectivity", "missing", "boxplot"),
axis_size = 15,
text_size = 5,
...
)
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. |
A ggplot object.
Johan Aparicio [aut]
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.