Learn R Programming

growthrates (version 0.8.1)

parse_formula: 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 + ....

Value

a list with the elements valuevar, timevar, and groups

Details

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

See Also

multisplit, split

Examples

Run this code
# NOT RUN {
parse_formula(y ~ x | a+b+c)

# }

Run the code above in your browser using DataLab