williams.BIB: Construction of Carryover Balanced Designs Based on Balanced...

Description Usage Arguments Details Value Warning Note Author(s) References See Also Examples

View source: R/williams.BIB.R

Description

Patterson (1951) combined balanced incomplete block designs (BIBDs) with Williams designs to get carryover balanced generalized Youden designs.

Usage

1

Arguments

d

A matrix representing a BIBD. Rows represent blocks (subjects).

Details

For each row of the design, a Williams design is constructed using the treatments of that row. The rows of the resulting designs are then combined. The treatments are numbered 1,...,trt. The entry (i,j) of the design corresponds to the treatment the i-th subject gets in the j-th period.

Value

A matrix representing the experimental design.

Warning

The resultig design is only balanced properly if the input design actually is a BIBD. This is NOT checked automatically. You have to do this by yourself, e.g. by applying isGYD to your design.

Note

BIBDs may be generated using find.BIB.

Author(s)

Oliver Sailer

References

Patterson, H.D. (1951): Change-over trials. Journal of the Royal Statistical Society B 13, 256-271.

Wakeling, I.N. and MacFie, H.J.H. (1995): Designing consumer trials balanced for first and higher orders of carry-over effect when only a subset of k samples from t may be tested. Food Quality and Preference 6, 299-308.

See Also

get.plan, isGYD, find.BIB, williams

Examples

1
2
3
4
d <- matrix( rep(1:3,each=2), ncol=2)
# # check for balance
# isGYD(d)
williams.BIB(d)

Example output

Loading required package: AlgDesign
Loading required package: gtools
     [,1] [,2]
[1,]    1    2
[2,]    2    1
[3,]    1    3
[4,]    3    1
[5,]    2    3
[6,]    3    2

crossdes documentation built on May 30, 2017, 4:14 a.m.