Learn R Programming

JointAI (version 1.1.0)

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)

See Also

remove_grouping()