Learn R Programming

photobiology (version 0.11.3)

upgrade_spct: 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)

Value

The modified object (invisibly).

Arguments

object

generic.spct A single object to upgrade

See Also

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