is.summary_generic_spct {photobiology}R Documentation

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)

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

sm <- summary(sun.spct)
is.summary_source_spct(sm)


[Package photobiology version 0.11.2 Index]