Skip to contents

Get or set the column names of two-dimensional 'VirtualArray'-derived class objects

Usage

# S4 method for VirtualArray
colnames(x)

# S4 method for VirtualArray
colnames(x) <- value

Arguments

x

VirtualArray-derived class object.

value

character vector.

Value

A character vector of column names or NULL.

Examples

data(paleocoastlines)
colnames(paleocoastlines)
#> [1] "margin" "coast" 
colnames(paleocoastlines) <- c("a", "b")