Learn R Programming

dibble (version 0.3.0)

row-colnames: Row and column names

Description

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, ...)

Value

A list of row/column names.

Arguments

x

A matrix-like object.

...

Other arguments passed on to methods.

Details

These functions override base functions to make them generic. The default methods call the base versions.