nlme (version 3.1-86)

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(x, asList, \dots)

Arguments

Value

if x 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