Extracts from a model object the mixed effects model formula corresponding to a top level nonlinear model parameter.
# S3 method for egf
formula(x, top = egf_top(x), split = FALSE, ...)
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.
an egf
object.
a character string specifying a top level nonlinear model parameter.
a logical flag. If TRUE
, then random effect terms are deleted
from the formula and preserved as an attribute.
unused optional arguments.
The generic function formula
.