Skip to contents

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

Usage

# S4 method for VirtualArray
names(x)

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

Arguments

x

VirtualArray-derived class object.

value

character vector.

Value

A character vector of names or NULL.

Examples

ex <- rastex()
names(ex)
#> [1] "a" "b" "c" "d" "e" "f"
names(ex)[4] <- "weirdo"
# NULL