parse_formula_nonlin: Simple Formula Interface for Grouped Nonlinear Functions

View source: R/parse_formula_nonlin.R

parse_formula_nonlinR Documentation

Simple Formula Interface for Grouped Nonlinear Functions

Description

This simple formula interface handles formulae of the form dependent ~ FUN(independent, parms) | group1 + group2 + ....

Usage

parse_formula_nonlin(formula)

Arguments

formula

a model formula specifying dependent and independent variables, nonlinear model and grouping variables in the form: dependent ~ FUN(independent, parms) | group1 + group2 + .... FUN can be a name of an existing growth model (e.g. grow_logistic) or a valid user-defined function (see growthmodel).

Details

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

Value

a list with the elements FUN, valuevar, timevar, and groups

See Also

multisplit, split, parse_formula

Examples


ret <- parse_formula_nonlin(y ~ f(x, parms) | a + b + c)


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