Learn R Programming

hsdar (version 0.5.1)

bandnames: Handling names of bands

Description

Returning and setting names of bands in Speclib

Usage

bandnames(x) bandnames(x) <- value

Arguments

x
Object of class Speclib.
value
Character vector of the same length as nbands(x), or NULL.

Value

For bandnames<-, the updated object. Otherwise a vector giving the name of each band in Speclib is returned.

See Also

Speclib

Examples

Run this code
data(spectral_data)

bandnames(spectral_data)

Run the code above in your browser using DataLab