Description Usage Arguments Value Examples
This is kind of like model.matrix
but for random
effects terms.
1 | getModMatAndGrpFac(bar, fr)
|
bar |
random effect language object (e.g. |
fr |
model frame |
list with model matrix and grouping factor
1 2 3 | set.seed(1)
dat <- data.frame(f = gl(5, 2), x = rnorm(10))
getModMatAndGrpFac(quote(x | f), dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.