powered by
This method function extracts the formula associated with a pdMat object, in which the column and row names are specified.
pdMat
# S3 method for pdMat formula(x, asList, ...)
if x has a formula attribute, its value is returned, else NULL is returned.
x
formula
NULL
an object inheriting from class "pdMat", representing a positive definite matrix.
"pdMat"
logical. Should the asList argument be applied to each of the components? Never used.
some methods for this generic require additional arguments. None are used in this method.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
pd1 <- pdSymm(~Sex*age) formula(pd1)
Run the code above in your browser using DataLab