Learn R Programming

epigrowthfit (version 0.15.4)

formula.egf: 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 egf
formula(x, top = egf_top(x), split = FALSE, ...)

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.

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.

See Also

The generic function formula.