Learn R Programming

photobiology (version 0.10.6)

class_spct: Query which is the class of a 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