remove_formula_grouping: Remove grouping part from (random effects) formula
Description
Removes the part after (and including) the pipe symbol (|) in a formula.
Usage
remove_formula_grouping(formula)
Value
A list of one-sided formula objects without the grouping part,
split by grouping variable
Arguments
- formula
A formula object (NOT a list of formulas)