hypotheses {CPCAT} | R Documentation |
Create main hypotheses and intersection hypotheses.
Description
Create main hypotheses and intersection hypotheses.
Usage
hypotheses(n)
Arguments
n |
The number of treatments exclusive of the control group. That is, if we have, e.g., a control group and 3 treatments choose n=3. |
Value
A contrast matrix reflecting all main and intersection hypotheses induced by the closure principle (CP). Please note that the leading column of treatment 0 (i.e., the control group) is not displayed because it always contains only ones.
Examples
hypotheses(3)
hypotheses(n=2)
[Package CPCAT version 1.0.0 Index]