Generate a split-plot design under a randomized complete block design (RCBD) structure for TARPUY.
Usage
design_split_rcbd(
nfactors = 2,
factors,
type = "split-rcbd",
rep = 3,
zigzag = FALSE,
nrows = NA,
serie = 1000,
seed = NULL,
project = "inkaverse",
qrcode = "{project}{plots}{factors}"
)Arguments
- nfactors
Number of factors in the experiment. Splitplot-RCBD requires exactly two factors.
- factors
Named list with the factor levels. The first factor is the whole-plot factor and the second factor is the subplot factor.
- type
Design type. The canonical value is
"split-rcbd"; accepted aliases are normalized bynormalize_tarpuy_design_type().- rep
Number of replications or blocks.
- zigzag
Logical. If
TRUE, plot numbering follows a continuous vertical serpentine path through the whole plots and blocks.- nrows
Number of rows in the complete physical layout. The valid Splitplot-RCBD geometry is
rep * number_of_subplot_levels; when missing, it is calculated automatically.- serie
Base number used to generate plot identifiers. For example,
serie = 1000generates plots 1001, 1002, ... in block 1 and 2001, 2002, ... in block 2.- seed
Seed used for reproducible randomization.
NAorNULLleaves the current random-number state unchanged.- project
Barcode or QR-code prefix.
- qrcode
Template used to concatenate QR-code fields. The placeholder
{factors}expands to both experimental factors.
