design.bib {agricolae}R Documentation

Randomized Balanced Incomplete Block Designs. BIB

Description

Creates Randomized Balanced Incomplete Block Design. "Random" uses the methods of number generation in R. The seed is by set.seed(seed, kinds).

Usage

design.bib(trt, k, number = 1, seed = 0, kinds = "Super-Duper")

Arguments

trt Treatments
k size block
number number of first plot
seed seed
kinds method for to randomize

Details

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

Value

trt vector, name of the treatments
k number, numeric
number Numeric
seed Numeric
kinds character

Author(s)

Felipe de Mendiburu

References

Design of Experiments. Robert O. Kuehl. 2nd ed., Duxbury, 2000

See Also

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

Examples

library(agricolae)
# 4 treatments and k=3 size block
trt<-c("A","B","C","D")
k<-3
bib <-design.bib(trt,k,number=101,seed =41,kinds ="Super-Duper") # seed = 37
plots <-as.numeric(bib[,1])
field <-as.character(bib[,3])
t(matrix(plots,c(3,4)))
t(matrix(field,c(3,4)))
# write in hard disk
# write.table(bib,"bib.txt", row.names=FALSE, sep="\t")
# file.show("bib.txt")


[Package agricolae version 1.0-6 Index]