formula.reStruct {nlme} | R Documentation |
Extract reStruct Object Formula
Description
This method function extracts a formula from each of the
components of x
, returning a list of formulas.
Usage
## S3 method for class 'reStruct'
formula(x, asList, ...)
Arguments
x |
an object inheriting from class |
asList |
logical. Should the |
... |
some methods for this generic require additional arguments. None are used in this method. |
Value
a list with the formulas of each component of x
.
Author(s)
José Pinheiro and Douglas Bates bates@stat.wisc.edu
See Also
Examples
rs1 <- reStruct(list(A = pdDiag(diag(2), ~age), B = ~1))
formula(rs1)
[Package nlme version 3.1-166 Index]