all.combin {crossdes} | R Documentation |
The function constructs a row-column design with subjects as rows and periods as columns. Each subject gets each treatment at most once. All possible treatment orders are assigned to the subjects.
all.combin(trt, k)
trt |
An integer > 1. Number of treatments (products) to be tested. |
k |
An integer <= trt. Number of periods for each subject. |
The design is a carryover balanced generalized Youden design that is uniform on the columns. 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.
A matrix with trt!/(trt-k)! rows and k columns representing the experimental design.
Requires the package gtools
.
Oliver Sailer sailer@statistik.uni-dortmund.de
Patterson, H.D. (1952): The construction of balanced designs for experiments involving sequences of treatments. Biometrika 39, 32-48.
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.
# Design for 4 treatments assigned in 3 periods. # All possible treatment orders occur. all.combin(4,3)