latinList | R Documentation |
Get list of random latin squares.
latinList(nSquares = 3, nDims = 4)
nSquares |
Number of latin squares to create. |
nDims |
Size of latin squares. |
Get list of random latin squares. At present, these are not guaranteed to be unique.
A list of latin squares, nSquares in length. Each square is nDims x nDims in size.
David Braze davebraze@gmail.com
latin
d <- 5 ll <- latinList(3,d) ll ll.mat <- Reduce(rbind,ll) cond <- letters[1:d] matrix(cond[ll.mat], ncol=d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.