latin {edibble}R Documentation

Latin square designs and its generalisations as an array

Description

Latin square designs and its generalisations as an array

Usage

latin_square(n, randomise = TRUE)

latin_rectangle(nr, nc, nt, randomise = TRUE)

latin_array(dim, nt, randomise = TRUE)

Arguments

n, nt

The number of treatments

randomise

A logical value to indicate whether the treatment allocation should be randomised. The default value is TRUE.

nr

The number of rows

nc

The number of columns

dim

A vector of integers to indicate the number of elements in each dimension.

Functions

Examples

latin_square(n = 3)
latin_rectangle(3, 3, 3)
latin_array(3, c(3, 3, 3))

[Package edibble version 0.1.2 Index]