| latin | R Documentation |
Generates a Latin square, which is either standard or based on randomized rows and columns.
latin(n, random = TRUE)
n |
An integer between 2 and 26, inclusively, denoting the number of treatment groups. |
random |
Logical; if |
The Latin square is produced in matrix format with treatments labeled as A, B, C, etc.
Steven T. Garren, James Madison University, Harrisonburg, Virginia, USA
design.lsd in R-package agricolae
latin( 5, random=FALSE )
latin( 6 ) # Default is random=TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.