Matrix-class {Matrix} | R Documentation |
The Matrix
class is a class contained by all actual
classes in the Matrix package. It is a “virtual” class.
Common to all matrix object in the package:
Dim
:"integer"
- the dimensions
of the matrix - must be an integer vector with exactly two
non-negative values.Dimnames
:character
vector length
equal the corresponding Dim
element.signature(x = "Matrix")
: extract matrix dimensions
dim
.signature(x = "Matrix")
: extract
dimnames
.signature(x = "Matrix", value = "list")
: set
the dimnames
to a list
of length 2, see
dimnames<-
.signature(object = "Matrix")
: show
method for print
ing.Douglas Bates bates@stat.wisc.edu
dgeMatrix-class
, dgCMatrix-class
, and
Matrix
for construction (and examples).