menu_bibd: Balance incomplete block design

View source: R/menu.R

menu_bibdR Documentation

Description

Some combinations of parameter values cannot create a balanced incomplete block design.

Usage

menu_bibd(
  t = random_integer_small(min = 3),
  k = random_integer_small(max = t - 1),
  r = random_integer_small(),
  seed = random_seed_number(),
  name_title = "Balanced Incomplete Block Design",
  name_block = "block",
  name_unit = "unit",
  name_trt = "trt"
)

Arguments

t

The number of treatments.

k

The size of the block. This should be less than the number of treatments.

r

The number of replications for each treatment level.

seed

A scalar value for computational reproducibility.

name_title

The name of the design or title.

name_block

The name of the block factor.

name_unit

The name of the unit factor

name_trt

The name of the treatment factor.

Value

A recipe for balance incomplete block design.

See Also

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

Examples

menu_bibd(t = 3, k = 2, r = 4)

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