Learn R Programming

agricolae (version 1.1-5)

design.strip: Strip Plot Design

Description

It generates strip plot design. "Random" uses the methods of number generation in R. The seed is by set.seed(seed, kinds).

Usage

design.strip(trt1, trt2,r, number = 1, seed = 0, kinds = "Super-Duper")

Arguments

trt1
Row treatments
trt2
column treatments
r
Replications
number
number of first plot
seed
seed
kinds
method for to randomize

Value

  • trt1vector, name of the row treatments
  • trt2vector, name of the column treatments
  • rnumeric
  • numberNumeric
  • seedNumeric

Details

kinds <- c("Wichmann-Hill", "Marsaglia-Multicarry", "Super-Duper", "Mersenne-Twister", "Knuth-TAOCP", "user-supplied", "Knuth-TAOCP-2002", "default" )

References

Statistical Procedures for Agricultural Research. Kwanchai A. Gomez, Arturo A. Gomez. John Wiley & Sons, new York, 1984

See Also

design.crd, design.lsd, random.ab, fact.nk

Examples

Run this code
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
book <-design.strip(t1,t2,r, number=101,seed=45,kinds ="Super-Duper") # seed = 45
book # field book
# write in hard disk
# write.table(book,"book.txt", row.names=FALSE, sep="\t")
# file.show("book.txt")

Run the code above in your browser using DataLab