Learn R Programming

agricolae (version 1.1-5)

design.cyclic: Cyclic designs

Description

The cyclic design is a incomplete blocks designs, it is generated from a incomplete block initial of the size k, the plan is generated and randomized. The efficient and robust cyclic designs for 6 to 30 treatments, replications

Usage

design.cyclic(trt, k, r, number = 1, rowcol = FALSE, seed = 0, kinds = "Super-Duper")

Arguments

trt
vector treatments
k
block size
r
Replications
number
number of first plot
rowcol
TRUE: row-column design
seed
init seed random
kinds
random method

Value

  • trtvector, name of the treatments
  • kConstant, numeric
  • numberConstant, numeric
  • seedConstant, numeric
  • kindscharacter

Details

Number o treatment 6 to 30. (r) Replication 2 to 10. (k) size of block 2 to 10. replication = i*k, "i" is value integer.

References

Kuehl, Robert(2000), Design of Experiments. 2nd ed., Duxbury. John, J.A. (1981) Efficient Cyclic Design. J. R. Statist. Soc. B, 43, No. 1, pp, 76-80.

See Also

design.bib, design.lattice, design.alpha

Examples

Run this code
library(agricolae)
trt<-letters[1:8]
# block size = 2, replication = 6
plan1 <- design.cyclic(trt,k=2, r=6)
names(plan1)
# groups 1,2,3
plan1$design[[1]]
plan1$design[[2]]
plan1$design[[3]]
plan1$book
# row-column design
plan2 <- design.cyclic(trt,k=2, r=6, rowcol=TRUE)
plan2$design

Run the code above in your browser using DataLab