Upgrade one or more spectral objects
Update the spectral class names of objects to those used in photobiology (>= 0.6.0).
upgrade_spectra(obj.names = ls(parent.frame()))
obj.names |
char Names of objects to upgrade as a vector of character strings |
The modified object (invisibly).
The objects are modified by reference. The class names with ending
".spct" are replaced by their new equivalents ending in "_spct".
object.names can safely include names of any R object. Names of
objects which do not belong to any the old .spct classes are
ignored. This makes it possible to supply as argument the output from
ls, the default, or its equivalent objects.
Other upgrade from earlier versions:
is.old_spct(),
upgrade_spct()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.