photobiology (version 0.9.25)

is_tagged: Query if it is an spectrum is tagged

Description

Functions to check if an spct object contains tags.

Usage

is_tagged(x)

Arguments

x

any R object

Value

is_tagged returns TRUE if its argument is a an spectrum that contains tags and FALSE if it is an untagged spectrum, but returns NA for any other R object.

See Also

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

Examples

Run this code
# NOT RUN {
is_tagged(sun.spct)

# }

Run the code above in your browser using DataCamp Workspace