upgrade_spectra | R Documentation |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.