plot.FielDHub: Plot a 'FielDHub' object

View source: R/utils_S3_methods.R

plot.FielDHubR Documentation

Plot a FielDHub object

Description

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().

  • layout a integer. Options available depend on the type of design and its characteristics

  • l a integer to specify the location to plot.

  • planter it can be serpentine or cartesian.

  • stacked it can be vertical or horizontal stacked layout.

Value

  • a plot object inheriting from class fieldLayout

  • field_book a data frame with the fieldbook that includes the coordinates ROW and COLUMN.

Author(s)

Didier Murillo [aut]

Examples

## Not run: 
# Example 1: Plot a RCBD design with 24 treatments and 3 reps.
s <- RCBD(t = 24, reps = 3, plotNumber = 101, seed = 12)
plot(s)

## End(Not run)


FielDHub documentation built on Oct. 20, 2023, 1:07 a.m.