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

# S3 method for class 'pdMat'
Dim(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.

Value

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

Author

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

See also

Examples

Dim(pdSymm(diag(3)))
#> [1] 3 3