Plot a FielDHub object¶
Source: R/result_methods.R
Draw a field layout plot for a FielDHub object.
Usage¶
# S3 method for class 'FielDHub'
plot(x, ...)
Arguments¶
x
a object inheriting from class FielDHub
...
further arguments passed to utility function plot_layout().
-
layouta integer. Options available depend on the type of design and its characteristics -
la integer to specify the location to plot. -
planterit can beserpentineorcartesian. It has no effect on split-plot and split-split-plot designs in complete blocks (type = 2), whose whole plots are numbered in a fixed order. -
stackedit can beverticalorhorizontalstacked layout. -
field_gridFALSEremoves the white line drawn around every plot in maps that have one. Other arguments are passed todesplot.
Value¶
-
a plot object inheriting from class
fieldLayout -
field_booka data frame with the fieldbook that includes the coordinates ROW and COLUMN.
Author¶
Didier Murillo [aut]
Examples¶
if (FALSE) { # \dontrun{
# Example 1: Plot a RCBD design with 24 treatments and 3 reps.
s <- RCBD(t = 24, reps = 3, plotNumber = 101, seed = 12)
plot(s)
} # }