powered by
This method function extracts a formula from each of the components of x, returning a list of formulas.
x
# S3 method for reStruct formula(x, asList, ...)
a list with the formulas of each component of x.
an object inheriting from class "reStruct", representing a random effects structure and consisting of a list of pdMat objects.
"reStruct"
pdMat
logical. Should the asList argument be applied to each of the components?
asList
some methods for this generic require additional arguments. None are used in this method.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
formula
rs1 <- reStruct(list(A = pdDiag(diag(2), ~age), B = ~1)) formula(rs1)
Run the code above in your browser using DataLab