dimension_names: Dimension Names of a 'dataDict'

Description Usage Arguments Value Examples

Description

Generic function to retrieve the dimension names of the data.frame-like object that the dataDict is based on. 'colnames' and 'rownames' will also work, since they call 'dimnames' in their implementation.

Usage

1
2
3
4
5
## S3 method for class 'dataDict'
dimnames(x)

## S3 method for class 'dataDict'
names(x)

Arguments

x

A dataDict object.

Value

dimnames: The dimension names of the original data.frame-like object.

names: The column names of the original data.frame-like object.

Examples

1
2
3
4
5
dd <- dataDict(mtcars)
dimnames(dd)
colnames(dd) # Same as names(dd)
rownames(dd)
names(dd) # Same as colnames(dd)

KO112/KO documentation built on Oct. 2, 2020, 9:21 a.m.