upgrade_spct {photobiology} | R 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()
[Package photobiology version 0.11.2 Index]