balmin.RMD | R Documentation |
The function constructs a row-column design with subjects as rows and periods as columns. The design is incomplete, i.e. no subject gets all the treatments. The design is balanced for carryover effects but will in general not be a balanced block design.
balmin.RMD(trt, n, p)
trt |
An integer >1 giving the number of treatments (products) to be tested. |
n |
An integer >1 giving the number of subjects (assessors) in the study. |
p |
An integer >1 giving the number of periods for each subject. |
A necessary and sufficient condition for the existence of such a design is that (trt-1)/(p-1) be a positive integer. In this case n = trt(trt-1)/(p-1). In the resulting design 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 n rows and p columns representing the experimental design.
Oliver Sailer
Afsarinejad, K. (1983): Balanced repeated measurements designs. Biometrika 70, 199-204.
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.
get.plan
balmin.RMD(10,30,4) # a balanced minimal RMD balmin.RMD(11,22,6) # another balanced minimal RMD
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.