Skip to contents

Retrieve and Set Row (Column) Dimension Names of dbMatrix Objects

Usage

# S4 method for class 'dbMatrix'
rownames(x)

# S4 method for class 'dbMatrix'
rownames(x) <- value

# S4 method for class 'dbMatrix'
colnames(x)

# S4 method for class 'dbMatrix'
colnames(x) <- value

# S4 method for class 'dbMatrix'
dimnames(x)

# S4 method for class 'dbMatrix,list'
dimnames(x) <- value

Arguments

x

a matrix-like R object, with at least two dimensions for colnames.

value

a valid value for that component of dimnames(x). For a matrix or array this is either NULL or a character vector of non-zero length equal to the appropriate dimension.

do.NULL

Not used for this method. Included for compatibility with the generic.

prefix

Not used for this method. Included for compatibility with the generic.