photobiology (version 0.9.26)

getWhatMeasured: Get the "what.measured" attribute

Description

Function to read the "what.measured" attribute of an existing generic_spct or a generic_mspct.

Usage

getWhatMeasured(x, ...)

# S3 method for default getWhatMeasured(x, ...)

# S3 method for generic_spct getWhatMeasured(x, ...)

# S3 method for summary_generic_spct getWhatMeasured(x, ...)

# S3 method for generic_mspct getWhatMeasured(x, ..., idx = "spct.idx")

Arguments

x

a generic_spct object

...

Allows use of additional arguments in methods for other classes.

idx

character Name of the column with the names of the members of the collection of spectra.

Value

character vector An object containing a description of the data.

Methods (by class)

  • default: default

  • generic_spct: generic_spct

  • summary_generic_spct: summary_generic_spct

  • generic_mspct: generic_mspct

See Also

Other measurement metadata functions: getInstrDesc, getInstrSettings, getWhenMeasured, getWhereMeasured, get_attributes, isValidInstrDesc, isValidInstrSettings, setInstrDesc, setInstrSettings, setWhatMeasured, setWhenMeasured, setWhereMeasured, trimInstrDesc, trimInstrSettings

Examples

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

# }

Run the code above in your browser using DataCamp Workspace