design.graeco | R Documentation |
A graeco - latin square is a KxK pattern that permits the study of k treatments simultaneously with three different blocking variables, each at k levels.
design.graeco(
trt1,
trt2,
serie = 2,
seed = 0,
kinds = "Super-Duper",
randomization = TRUE
)
trt1 |
Treatments |
trt2 |
Treatments |
serie |
number plot, 1: 11,12; 2: 101,102; 3: 1001,1002 |
seed |
seed |
kinds |
method for to randomize |
randomization |
TRUE or FALSE - randomize |
The function is only for squares of the odd numbers and even numbers (4, 8, 10 and 12)
kinds <- c("Wichmann-Hill", "Marsaglia-Multicarry", "Super-Duper", "Mersenne-Twister", "Knuth-TAOCP", "user-supplied", "Knuth-TAOCP-2002", "default" )
parameters |
Design parameters |
book |
Fieldbook |
Felipe de Mendiburu
1. Statistics for Experimenters Design, Innovation, and Discovery Second Edition. George E. P. Box. Wiley-Interscience. 2005.
2. Experimental design. Cochran and Cox. Second edition. Wiley Classics Library Edition published 1992.
design.ab
,
design.alpha
,design.bib
, design.crd
, design.cyclic
, design.dau
,
design.split
, design.lattice
,
design.lsd
, design.rcbd
,
design.strip
library(agricolae)
T1<-c("a","b","c","d")
T2<-c("v","w","x","y")
outdesign <- design.graeco(T1,T2,serie=1)
graeco<-outdesign$book
plots <-as.numeric(graeco[,1])
print(outdesign$sketch)
print(matrix(plots,byrow=TRUE,ncol=4))
# 10 x 10
T1 <- letters[1:10]
T2 <- 1:10
outdesign <- design.graeco(T1,T2,serie=2)
print(outdesign$sketch)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.