Skip to contents

Strip-unit design

Usage

menu_strip(
  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 strip-unit design.

See also

Examples

menu_strip(t1 = 3, t2 = 3, r = 2)
#> design("Strip-Plot Design | Strip-Unit Design") %>%
#>   set_units(block = 2,
#>             row = nested_in(block, 3),
#>             col = nested_in(block, 3),
#>             unit = nested_in(block, crossed_by(row, col))) %>%
#>   set_trts(trt1 = 3,
#>            trt2 = 3) %>%
#>   allot_trts(trt1 ~ row,
#>              trt2 ~ col) %>%
#>   assign_trts("random", seed = 936) %>%
#>   serve_table()