Learn R Programming

photobiology (version 0.11.4)

is_tagged: Query if a spectrum is tagged

Description

Functions to check if an spct object contains tags.

Usage

is_tagged(x)

Value

is_tagged returns a logical value, TRUE if its argument is a a spectrum that contains tags and FALSE if it is an untagged spectrum, but returns NA

for any other R object.

Arguments

x

any R object

See Also

Other tagging and related functions: tag(), untag(), wb2rect_spct(), wb2spct(), wb2tagged_spct()

Examples

Run this code
is_tagged(sun.spct)

Run the code above in your browser using DataLab