class_spct: Query which is the class of a spectrum

View source: R/spct.classes.r

class_spctR 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)


photobiology documentation built on Oct. 21, 2023, 1:06 a.m.