Description Usage Arguments Value Author(s) Examples
Transform format of predictors from vectors to single variables.
1 | generate_formula(formula, label_names)
|
formula |
(formula) A symbolic description of the model to be fitted. |
label_names |
(list) A character string indicating all the interior variables included in each group of random effect. |
generic_formula |
(formula) A symbolic description of the model written in single variables format. |
length_main |
(integer) A numeric value indicating the length of main random effects. |
Wenying Deng
1 2 | generic_formula0 <- generate_formula(formula = Y ~ X + Z1 + Z2,
label_names = list(Z1 = c("z1", "z2"), Z2 = c("z3", "z4")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.