generate_contrast {OWEA} | R Documentation |
Generate contrast matrix
Description
A function return a matrix of contrast for given values of configuration.
Usage
generate_contrast(opt, t, p)
## S3 method for class 'interference'
generate_contrast(opt, t, p)
## S3 method for class 'dropout'
generate_contrast(opt, t, p)
## S3 method for class 'proportional'
generate_contrast(opt, t, p)
Arguments
opt |
Numeric. |
t |
Positive Integer. The number of levels of treatments. of one of those classes 'dropout','proportional', or 'interference'. |
p |
Postitive Integer. The number of periods, or number of plots in a block. |
[Package OWEA version 0.1.2 Index]