nlme (version 3.1-1)

Dim.pdMat: Dimensions of a pdMat Object

Description

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

Usage

Dim(object)

Arguments

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

Value

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

See Also

Dim

Examples

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

Run the code above in your browser using DataLab