Skip to contents

Youden square design

Usage

menu_youden(
  nc = random_integer_small(),
  t = random_integer_small(min = nc + 1),
  seed = random_seed_number()
)

Arguments

nc

The number of columns.

t

The number of treatments.

seed

A scalar value for computational reproducibility.

Value

A recipe Youden square design.

See also

Examples

menu_youden(nc = 4, t = 5)
#> design("Youden Square Design") %>%
#>   set_units(row = 5,
#>             col = 4,
#>             unit = crossed_by(row, col)) %>%
#>   set_trts(trt = 5) %>%
#>   allot_trts(trt ~ unit) %>%
#>   assign_trts("random", seed = 613) %>%
#>   serve_table()