Method to read the "how.measured"
attribute of an R object.
Usage
getHowMeasured(x, ...)
how_measured(x, ...)
# Default S3 method
getHowMeasured(x, ...)
# S3 method for class 'generic_spct'
getHowMeasured(x, ..., simplify = FALSE)
# S3 method for class 'summary_generic_spct'
getHowMeasured(x, ..., simplify = FALSE)
# S3 method for class 'data.frame'
getHowMeasured(x, ..., simplify = FALSE)
# S3 method for class 'generic_mspct'
getHowMeasured(x, ..., idx = "spct.idx", simplify = FALSE)
Methods (by class)
getHowMeasured(default)
: defaultgetHowMeasured(generic_spct)
: generic_spctgetHowMeasured(summary_generic_spct)
: summary_generic_spctgetHowMeasured(data.frame)
: data.framegetHowMeasured(generic_mspct)
: generic_mspct
Note
The method for collections of spectra returns the a data frame with a column of character strings.
See also
Other measurement metadata functions:
add_attr2tb()
,
getFilterProperties()
,
getInstrDesc()
,
getInstrSettings()
,
getSoluteProperties()
,
getWhatMeasured()
,
getWhenMeasured()
,
getWhereMeasured()
,
get_attributes()
,
isValidInstrDesc()
,
isValidInstrSettings()
,
select_spct_attributes()
,
setFilterProperties()
,
setHowMeasured()
,
setInstrDesc()
,
setInstrSettings()
,
setSoluteProperties()
,
setWhatMeasured()
,
setWhenMeasured()
,
setWhereMeasured()
,
spct_attr2tb()
,
spct_metadata()
,
subset_attributes()
,
trimInstrDesc()
,
trimInstrSettings()
Examples
my.spct <- sun.spct
how_measured(my.spct)
#> [1] "Simulated using 'libRadtran'. Average for one hour, centred approximately on local solar noon."
how_measured(my.spct) <- "Simulated with a radiation transfer model"
how_measured(my.spct)
#> [1] "Simulated with a radiation transfer model"
how_measured(my.spct) <- NULL
how_measured(my.spct)
#> [1] NA