is.generic_spct: Query class of spectrum objects

Description Usage Arguments Value Note Examples

View source: R/spct.classes.r

Description

Functions to check if an object is of a given type of spectrum, or coerce it if possible.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19

Arguments

x

an R object.

Value

These functions return TRUE if its argument is a of the queried type of spectrum and FALSE otherwise.

Note

Derived types also return TRUE for a query for a base type such as generic_spct.

Examples

1
2
3
4
5
6
7
8
9

photobiology documentation built on Aug. 27, 2017, 5:05 p.m.