Matrix-class {Matrix}R Documentation

Virtual Class "Matrix" Class of Matrices

Description

The Matrix class is a class contained by all actual classes in the Matrix package. It is a “virtual” class.

Slots

Common to all matrix object in the package:

Dim:
Object of class "integer" - the dimensions of the matrix - must be an integer vector with exactly two non-negative values.
Dimnames:
list of length two; each component containing NULL or a character vector length equal the corresponding Dim element.

Methods

dim
signature(x = "Matrix"): extract matrix dimensions dim.
dimnames
signature(x = "Matrix"): extract dimnames.
dimnames<-
signature(x = "Matrix", value = "list"): set the dimnames to a list of length 2, see dimnames<-.
show
signature(object = "Matrix"): show method for printing.

Author(s)

Douglas Bates bates@stat.wisc.edu

See Also

dgeMatrix-class, dgCMatrix-class, and Matrix for construction (and examples).


[Package Matrix version 0.95-10 Index]