Skip to contents

Originally referred to as split-plot design when it was first used.

Usage

menu_split(
  t1 = random_integer_small(),
  t2 = random_integer_small(),
  r = random_integer_small(),
  seed = random_seed_number()
)

Arguments

t1

The number of treatment levels for the main plots.

t2

The number of treatment levels for the subplots.

r

The number of replications for each treatment level.

seed

A scalar value for computational reproducibility.

Value

A recipe split-plot design.

See also

Examples

menu_split(t1 = 3, t2 = 2, r = 4)
#> design("Split-Plot Design | Split-Unit Design") %>%
#>   set_units(mainplot = 12,
#>              subplot = nested_in(mainplot, 2)) %>%
#>   set_trts(trt1 = 3,
#>            trt2 = 2) %>%
#>   allot_trts(trt1 ~ mainplot,
#>              trt2 ~ subplot) %>%
#>   assign_trts("random", seed = 784) %>%
#>   serve_table()