Learn R Programming

growthrates (version 0.8.4)

parse_formula: Simple Formula Interface

Description

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

Usage

parse_formula(grouping)

Value

a list with the elements valuevar, timevar, and

groups

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.

See Also

multisplit, split

Examples

Run this code

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

Run the code above in your browser using DataLab