formula.reStruct | R Documentation |
This method function extracts a formula from each of the
components of x
, returning a list of formulas.
## S3 method for class 'reStruct'
formula(x, asList, ...)
x |
an object inheriting from class |
asList |
logical. Should the asList argument be applied to each of the components? |
... |
some methods for this generic require additional arguments. None are used in this method. |
a list with the formulas of each component of x
.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
formula
rs1 <- reStruct(list(A = pdDiag(diag(2), ~age), B = ~1))
formula(rs1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.