Learn R Programming

photobiology (version 0.9.6)

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 class 'default':
getWhereMeasured(x, ...)

## S3 method for class 'generic_spct':
getWhereMeasured(x, ...)

## S3 method for class 'summary_generic_spct':
getWhereMeasured(x, ...)

## S3 method for class 'generic_mspct':
getWhereMeasured(x, ..., idx = !is.null(names(x)))

Arguments

x
a generic_spct object
...
Allows use of additional arguments in methods for other classes.
idx
logical whether to add a column with the names of the elements of spct

Value

  • a data.frane 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, setInstrDesc, setInstrSettings, setWhatMeasured, setWhenMeasured, setWhereMeasured

Examples

Run this code
getWhereMeasured(sun.spct)

Run the code above in your browser using DataLab