as_string_formula: Converts formulas to strings

as_string_formulaR Documentation

Converts formulas to strings

Description

Converts formulas to strings

Usage

as_string_formula(formula)

Arguments

formula

A model formula that may use standard fixed effects, random effects using lme4 syntax (see re()), and random walks defined using the rw() helper function.

Value

A character string of the supplied formula

See Also

Functions used to help convert formulas into model designs construct_re(), construct_rw(), enw_formula(), enw_manual_formula(), parse_formula(), re(), remove_rw_terms(), rw(), rw_terms(), split_formula_to_terms()

Examples

epinowcast:::as_string_formula(~ 1 + age_group)

seabbs/epinowcast documentation built on Aug. 28, 2024, 12:31 p.m.