menu_crd: Completely randomised design

View source: R/menu.R

menu_crdR Documentation

Description

Completely randomised design

Usage

menu_crd(
  t = random_integer_small(),
  n = random_integer_medium(min = t),
  r = NULL,
  seed = random_seed_number(),
  name_title = "Completely Randomised Design",
  name_unit = "unit",
  name_trt = "trt"
)

Arguments

t

The number of treatment levels

n

The number of experimental units

r

(Optional) The number of replicates.

seed

A scalar value for computational reproducibility.

name_title

The name of the design or title.

name_unit

The name of the unit factor

name_trt

The name of the treatment factor.

Value

A recipe for completely randomised design.

See Also

Other recipe-designs: menu_bibd(), menu_factorial(), menu_graeco(), menu_hyper_graeco(), menu_lsd(), menu_rcbd(), menu_split(), menu_strip(), menu_youden()

Examples

menu_crd(t = 3, n = 10)

emitanaka/edibble documentation built on April 5, 2025, 4:11 a.m.