cr.spld | R Documentation |
This function creates the fieldbook and fieldplan for a Split-Plot or a Split-Split-Plot design with a RCBD for the whole plots.
cr.spld(fnames, flevels, nb, nc = NULL, serpentine = c("yes", "no"))
fnames |
Factors' names for two or three factors. See details. |
flevels |
A list with the factors' levels. |
nb |
Number of blocks for the first factor. |
nc |
Number of columns. See details. |
serpentine |
|
Two or three factors must be included. The first factor goes to the
whole plots, the second to the sub-plots and the third, if any, to the sub-sub-plots.
The number of columns "nc"
is the maximum available number of columns on
the field for the sub-plots or the sub-sub-plots if a third factor is provided.
Default is the number of levels of the last factor.
It returns the fieldbook and fieldplan.
Raul Eyzaguirre.
A <- paste0("a", 1:4)
B <- paste0("b", 1:3)
cr.spld(c("A", "B"), list(A, B), 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.