It generates strip plot design. "Random" uses the methods of number generation in R. The seed is by set.seed(seed, kinds).
design.strip( trt1, trt2, r, serie = 2, seed = 0, kinds = "Super-Duper", randomization = TRUE )
trt1 | Row treatments |
---|---|
trt2 | column treatments |
r | Replications |
serie | number plot, 1: 11,12; 2: 101,102; 3: 1001,1002 |
seed | seed |
kinds | method for to randomize |
randomization | TRUE or FALSE - randomize |
Design parameters
Fieldbook
kinds <- c("Wichmann-Hill", "Marsaglia-Multicarry", "Super-Duper", "Mersenne-Twister", "Knuth-TAOCP", "user-supplied", "Knuth-TAOCP-2002", "default" )
Statistical Procedures for Agricultural Research. Kwanchai A. Gomez, Arturo A. Gomez. John Wiley & Sons, new York, 1984
design.ab
,
design.alpha
,design.bib
, design.crd
, design.cyclic
, design.dau
,
design.graeco
, design.lattice
,
design.lsd
, design.rcbd
,
design.split
library(agricolae) # 4 and 3 treatments and 3 blocks in strip-plot t1<-c("A","B","C","D") t2<-c(1,2,3) r<-3 outdesign <-design.strip(t1,t2,r, serie=2,seed=45,kinds ="Super-Duper") # seed = 45 book <-outdesign$book # field book # write in hard disk # write.table(book,"book.txt", row.names=FALSE, sep="\t") # file.show("book.txt")