Learn R Programming

nlme (version 3.1-163)

Dim.pdMat: Dimensions of a pdMat Object

Description

This method function returns the dimensions of the matrix represented by object.

Usage

# S3 method for pdMat
Dim(object, ...)

Value

an integer vector with the number of rows and columns of the matrix represented by object.

Arguments

object

an object inheriting from class "pdMat", representing a positive-definite matrix.

...

some methods for this generic require additional arguments. None are used in this method.

Author

José Pinheiro and Douglas Bates bates@stat.wisc.edu

See Also

Dim

Examples

Run this code
Dim(pdSymm(diag(3)))

Run the code above in your browser using DataLab