designLatinSqrSys {dae} | R Documentation |
Generates a systematic plan for a Latin Square design using the method of cycling the integers 1 to the number of treatments. The start of the cycle for each row, or the first column, can be specified as a vector of integers.
designLatinSqrSys(order, start = NULL)
order |
The number of treatments. |
start |
A |
A numeric
containing order
x order
integers between 1 and order
such that, when the numeric
is considered as a square matrix of size order
, each integer occurs once and only once in each row and column of the matrix.
designRandomize
, designPlot
, designAnatomy
in package dae.
matrix(designLatinSqrSys(5, start = c(seq(1, 5, 2), seq(2, 5, 2))), nrow=5)
designLatinSqrSys(3)