Skip to contents

Prepare classical Latin square design

Usage

menu_lsd(t = random_integer_small(), seed = random_seed_number())

Arguments

t

The number of treatments

seed

A scalar value for computational reproducibility.

Value

A recipe Latin square design.

See also

Examples

menu_lsd(t = 3)
#> design("Latin Square Design") %>%
#>   set_units(row = 3,
#>             col = 3,
#>             unit = crossed_by(row, col)) %>%
#>   set_trts(trt = 3) %>%
#>   allot_trts(trt ~ unit) %>%
#>   assign_trts("random", seed = 757) %>%
#>   serve_table()