Skip to contents

Get basic designs

Usage

get_design(design_name = NULL)

Arguments

design_name

A string specifying a design name (default = NULL)

Value

If design_name is not NULL, a data.frame containing the design. Otherwise, a list containing all available designs.

See also

Examples

names(get_design())
#> [1] "blocking"            "relative_validity"   "controlled_blocking"
get_design("blocking")
#>      Group       P1    R1             P2    R2
#> 1 Blocking 10N>(US) FALSE 10NL>(US)/10#L FALSE
#> 2  Control          FALSE 10NL>(US)/10#L FALSE