powered by
Generates a Latin square, which is either standard or based on randomized rows and columns.
latin(n, random = TRUE)
An integer between 2 and 26, inclusively, denoting the number of treatment groups.
Logical; if TRUE (default), a Latin square with randomized rows and columns is produced. If FALSE, a standard non-random Latin square is produced.
TRUE
FALSE
The Latin square is produced in matrix format with treatments labeled as A, B, C, etc.
design.lsd in R-package agricolae
design.lsd
agricolae
# NOT RUN { latin( 5, random=FALSE ) latin( 6 ) # Default is random=TRUE # }
Run the code above in your browser using DataLab