Extract reStruct Object Formula
Usage
formula(object)
Arguments
object
|
an object inheriting from class reStruct ,
representing a random effects structure and consisting of a list of
pdMat objects.
|
Description
This method function extracts a formula from each of the
components of object
, returning a list of formulas.Value
a list with the formulas of each component of object
.Author(s)
Jose Pinheiro and Douglas BatesSee Also
formula
Examples
library(lme)
rs1 <- reStruct(list(A = pdDiag(diag(2), ~age), B = ~1))
formula(rs1)