re | R Documentation |
Defines random effect terms using the lme4 syntax
re(formula)
formula |
A random effect as returned by |
A list defining the fixed and random effects of the specified random effect
Functions used to help convert formulas into model designs
as_string_formula()
,
construct_re()
,
construct_rw()
,
enw_formula()
,
enw_manual_formula()
,
parse_formula()
,
remove_rw_terms()
,
rw()
,
rw_terms()
,
split_formula_to_terms()
form <- epinowcast:::parse_formula(~ 1 + (1 | age_group))
re(form$random[[1]])
form <- epinowcast:::parse_formula(~ 1 + (location | age_group))
re(form$random[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.