R: Query which is the class of an spectrum

class_spct {photobiology} | R Documentation

## 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

    class_spct(sun.spct)
    class(sun.spct)

[Package photobiology version 0.9.21 Index]