getWhereMeasured {photobiology}R Documentation

Get the "where.measured" attribute

Description

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

Usage

getWhereMeasured(x, ...)

## Default S3 method:
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.frame with a single row and at least columns "lon" and "lat".

Methods (by class)

Note

If x is not a generic_spct or an object of a derived class NA is returned.

See Also

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

Examples

getWhereMeasured(sun.spct)


[Package photobiology version 0.9.21 Index]