Retrieve or set the row or column names of a matrix-like object.
Usage
rownames(x, ...)
# S3 method for default
rownames(x, ...)
# S3 method for ddf_col
rownames(x, ...)
# S3 method for tbl_ddf
rownames(x, ...)
colnames(x, ...)
# S3 method for default
colnames(x, ...)
# S3 method for ddf_col
colnames(x, ...)
# S3 method for tbl_ddf
colnames(x, ...)
Arguments
- x
A matrix-like object.
- ...
Other arguments passed on to methods.
Value
A list of row/column names.
Details
These functions override base functions to make them generic. The default
methods call the base versions.