photobiology (version 0.9.26)

getWhereMeasured: Get the "where.measured" attribute

Description

Function to read the "where.measured" attribute of an existing generic_spct.

Usage

getWhereMeasured(x, ...)

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

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

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

# S3 method for generic_mspct getWhereMeasured(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

a data.frame with a single row and at least columns "lon" and "lat".

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, getWhatMeasured, getWhenMeasured, get_attributes, isValidInstrDesc, isValidInstrSettings, setInstrDesc, setInstrSettings, setWhatMeasured, setWhenMeasured, setWhereMeasured, trimInstrDesc, trimInstrSettings

Examples

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

# }

Run the code above in your browser using DataCamp Workspace