Description Usage Arguments Details Value Author(s)
Specifies the link matrix corresponding to a particular analysis model.
1 |
D |
The number of treatments. Must be a single
|
model |
A single |
prop |
Only used when |
placebos |
Only used when |
summary |
A |
mat_link()
supports the specification of link matrices. Precisely,
a number of treatments (see D
) and a chosen model (see model
)
are specified. The link matrix for use in computing design matrices is then
returned. The value of model
must be an integer between one and nine
inclusive, corresponding to the following models:
1. Standard additive model;
2. Second-order carry-over effects;
3. Full-set of interactions;
4. Self-adjacency model;
5. Placebo model;
6. No carry-over into self model;
7. Treatment decay model;
8. Proportionality model;
9. No carry-over effects.
See the package vignette for further details on these models.
A matrix
detailing the determined link matrix.
Based on code from the Crossover
package by
Kornelius Rohmeyer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.