| getWhenMeasured {photobiology} | R Documentation |
Function to read the "when.measured" attribute of an existing generic_spct or a generic_mspct.
getWhenMeasured(x, ...) ## Default S3 method: getWhenMeasured(x, ...) ## S3 method for class 'generic_spct' getWhenMeasured(x, ...) ## S3 method for class 'summary_generic_spct' getWhenMeasured(x, ...) ## S3 method for class 'generic_mspct' getWhenMeasured(x, ..., idx = !is.null(names(x)))
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 |
POSIXct An object with date and time.
default: default
generic_spct: generic_spct
summary_generic_spct: summary_generic_spct
generic_mspct: generic_mspct
If x is not a generic_spct or an object of a derived class
NA is returned.
The method for collections of spectra returns the a tibble with the correct times in TZ = "UTC".
Other measurement metadata functions: getInstrDesc,
getInstrSettings,
getWhatMeasured,
getWhereMeasured,
get_attributes,
isValidInstrDesc,
isValidInstrSettings,
setInstrDesc,
setInstrSettings,
setWhatMeasured,
setWhenMeasured,
setWhereMeasured,
trimInstrDesc,
trimInstrSettings
getWhenMeasured(sun.spct)