Dim function

Extract Dimensions from an Object

Extract Dimensions from an Object

This function is generic; method functions can be written to handle specific classes of objects. Classes which already have methods for this function include: "corSpatial", "corStruct", "pdCompSymm", "pdDiag", "pdIdent", "pdMat", and "pdSymm".

Dim(object, ...)

Arguments

  • object: any object for which dimensions can be extracted.
  • ...: some methods for this generic function require additional arguments.

Returns

will depend on the method function used; see the appropriate documentation.

Author(s)

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

Note

If dim allowed more than one argument, there would be no need for this generic function.

See Also

Dim.corSpatial, Dim.pdMat, Dim.corStruct

  • Maintainer: R Core Team
  • License: GPL (>= 2)
  • Last published: 2025-03-31