Removes from a spectrum object the class attributes "generic_spct" and any derived class attribute such as "source_spct". This operation is done by reference!
an R object.
character vector Names of classes to keep. Can be used to retain base class "generic_spct".
A character vector containing the removed class attribute values.
This is different to the behaviour of function
unlist in base R!
x is an object of any of the spectral classes defined
in this package, this function changes by reference the spectrum
object into the underlying data.frame object. Otherwise, it just leaves
This function alters x itself by reference. If x is not a generic_spct object, x is not modified.
Other set and unset spectral class functions:
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.