upgrade_spct: Upgrade one spectral object

View source: R/spct.upgrade.r

upgrade_spctR Documentation

Upgrade one spectral object

Description

Update the spectral class names of objects to those used in photobiology (>= 0.6.0) and add 'version' attribute as used in photobiology (>= 0.70).

Usage

upgrade_spct(object)

Arguments

object

generic.spct A single object to upgrade

Value

The modified object (invisibly).

Note

The object is modified by reference. The class names with ending ".spct" replaced by their new equivalents ending in "_spct".

See Also

Other upgrade from earlier versions: is.old_spct(), upgrade_spectra()


photobiology documentation built on Oct. 21, 2023, 1:06 a.m.