Extract lmList Object Formula
DESCRIPTION:
This method function extracts the common linear model formula
associated with each
lm
component of
object
.
USAGE:
formula(object)
REQUIRED ARGUMENTS:
- object
-
an object inheriting from class
lmList
, representing
a list of
lm
objects with a common model.
VALUE:
a two-sided linear formula specifying the linear model used to
obtain the
lm
components of
object
.
SEE ALSO:
EXAMPLES:
fm1 <- lmList(distance ~ age | Subject, Orthodont)
formula(fm1)