bands-set: Set band labels

bands<-R Documentation

Set band labels

Description

bands sets band labels of lhs to the rhs values

Usage

bands(x) <- value

Arguments

x

spectra object (lhs)

value

rhs

Value

nothing. called for its side effect.

Author(s)

Jose Eduardo Meireles

Examples

library(spectrolab)
spec = as_spectra(spec_matrix_example, name_idx = 1)
bands(spec) = bands(spec) / 1000

annakat/spectrolab documentation built on Oct. 14, 2023, 1:16 a.m.