library(rsm)
### Simple 3-factor case, not randomized so structure is evident
bbd(3, randomize=FALSE)
### 5-factor BBD, divided between two plants
bbd(y1 + y2 ~ A + B + C + D + E,  n0 = 5,  block = "Plant")Run the code above in your browser using DataLab