50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

nlme (version 3.1-16)

formula.pdMat: Extract pdMat Formula

Description

This method function extracts the formula associated with a pdMat object, in which the column and row names are specified.

Usage

## S3 method for class 'pdMat':
formula(object, asList)

Arguments

object
an object inheriting from class pdMat, representing a positive definite matrix.
asList
logical. Should the asList argument be applied to each of the components? Never used.

Value

  • if object has a formula attribute, its value is returned, else NULL is returned.

See Also

pdMat

Examples

Run this code
pd1 <- pdSymm(~Sex*age)
formula(pd1)

Run the code above in your browser using DataLab