Description Usage Arguments Value
make_design
generates a design-matrix and grouping vector from a formula representing fixed and random effects
1 | make_design(formula, data, random_spline = FALSE, ...)
|
formula |
formula using |
data |
data-frame used to parse the formula |
random_spline |
Boolean indicating whether to treat basis-spline coefficients as a grouping factor |
... |
additional arguments passed to |
Tagged-list of containing a design-matrix X_ij
and the grouping variable
Group_j
where Group_j[X]=NA
indicates that column X
of X_ij
corresponds to a fixed effect, whereas Group_j[X]
having a positive integer
indicates that column X
is associated with that group of random effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.