df.spd {pwr4exp} | R Documentation |
Create data frame for split-plot design
Description
Create data frame for split-plot design
Usage
df.spd(trt.main, trt.sub, label, replicates)
Arguments
trt.main |
an integer-valued vector specifying the treatment structure at
main plot level, similar to |
trt.sub |
an integer-valued vector specifying the treatment structure at
sub plot level, similar to |
label |
Optional. A list of character vectors, each corresponding to a treatment factor.
The name of each vector specifies the factor's name, and its elements provide the labels for that factor's levels.
If no labels are provided, default labels will be used. For a single treatment factor, the default is
|
replicates |
the number of experimental units (main plots) per treatment of main plot factors. |
Value
a data.frame representing the data structure of the design