formula.egf {epigrowthfit}R Documentation

Extract Model Formulae

Description

Extracts from a model object the mixed effects model formula corresponding to a top level nonlinear model parameter.

Usage

## S3 method for class 'egf'
formula(x, top = egf_top(x), split = FALSE, ...)

Arguments

x

an egf object.

top

a character string specifying a top level nonlinear model parameter.

split

a logical flag. If TRUE, then random effect terms are deleted from the formula and preserved as an attribute.

...

unused optional arguments.

Value

By default, the mixed effects model formula corresponding to top. If split = TRUE, then the same formula without random effect terms. The deleted terms are stored in an expression vector and preserved as attribute random of the result.

See Also

The generic function formula.


[Package epigrowthfit version 0.15.3 Index]