Learn R Programming

via (version 0.2.0)

names,VirtualArray-method: Names of one-dimensional 'VirtualArray'-derived class objects.

Description

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

Value

A character vector of names or NULL.

Arguments

x

VirtualArray-derived class object.

value

character vector.

Examples

Run this code
ex <- rastex()
names(ex)
names(ex)[4] <- "weirdo"
# NULL

Run the code above in your browser using DataLab