upgrade_spct: Upgrade one spectral object

Description Usage Arguments Value Note See Also

View source: R/spct.upgrade.r

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

1
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 Aug. 28, 2020, 1:11 a.m.