class_spct {photobiology} | R Documentation |
Query which is the class of a spectrum
Description
Extract class information from a generic spectrum.
Usage
class_spct(x)
Arguments
x |
any R object |
Details
The value returned is equivalent to the set intersection of the
value returned by class(x)
and the value returned by
spct_classes
, but preserving the order of the members of
the character vector.
Value
A character vector containing all matching xxxx.spct S3 classes.
Examples
class_spct(sun.spct)
class(sun.spct)
[Package photobiology version 0.11.2 Index]