photobiology (version 0.9.30)

class_spct: Query which is the class of an spectrum

Description

Functions to check if an object is a generic spectrum, or coerce it if possible.

Usage

class_spct(x)

Arguments

x

any R object

Value

class_spct returns a vector containing all matching xxxx.spct classes.

Examples

Run this code
# NOT RUN {
class_spct(sun.spct)
class(sun.spct)

# }

Run the code above in your browser using DataLab