cr.strd: Strip-Split-Plot Design

View source: R/cr_strd.R

cr.strdR Documentation

Strip-Split-Plot Design

Description

This function creates the fieldbook and fieldplan for a Strip-Split-Plot design.

Usage

cr.strd(
  A,
  B,
  nb,
  serpentine = c("yes", "no"),
  alongside = c("no", "rows", "columns")
)

Arguments

A

The levels of factor A (row factor).

B

The levels of factor B (column factor).

nb

Number of blocks.

serpentine

"yes" or "no", default "yes".

alongside

"no" for independent blocks, or "rows" or "columns" if blocks are together alongside rows or columns.

Value

It returns the fieldbook and fieldplan.

Author(s)

Raul Eyzaguirre.

Examples

A <- paste0("a", 1:4)
B <- paste0("b", 1:3)
cr.strd(A, B, 3)

reyzaguirre/st4gi documentation built on Sept. 17, 2024, 8:44 p.m.