parse_formula: Simple Formula Interface

View source: R/parse_formula.R

parse_formulaR Documentation

Simple Formula Interface

Description

This simple formula interface handles formulae of the form dependent ~ independent | group1 + group2 + ....

Usage

parse_formula(grouping)

Arguments

grouping

a model formula specifying dependent, independent and grouping variables in the form: dependent ~ independent | group1 + group2 + ....

Details

This function is used by multisplit and normally not called by the user.

Value

a list with the elements valuevar, timevar, and groups

See Also

multisplit, split

Examples


parse_formula(y ~ x | a+b+c)


growthrates documentation built on Oct. 4, 2022, 1:06 a.m.