Learn R Programming

photobiology (version 0.11.4)

is.summary_generic_spct: Query class of spectrum summary objects

Description

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

Usage

is.summary_generic_spct(x)

is.summary_raw_spct(x)

is.summary_cps_spct(x)

is.summary_source_spct(x)

is.summary_response_spct(x)

is.summary_filter_spct(x)

is.summary_reflector_spct(x)

is.summary_object_spct(x)

is.summary_solute_spct(x)

is.summary_chroma_spct(x)

is.any_summary_spct(x)

Value

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

Arguments

x

an R object.

Examples

Run this code
sm <- summary(sun.spct)
is.summary_source_spct(sm)

Run the code above in your browser using DataLab