setWhatMeasured: Set the "what.measured" attribute

View source: R/spct.metadata.r

setWhatMeasuredR Documentation

Set the "what.measured" attribute

Description

Function to set by reference the "what.measured" attribute of an existing generic_spct or derived-class object.

Usage

setWhatMeasured(x, what.measured)

what_measured(x) <- value

Arguments

x

a generic_spct object

what.measured, value

a list

Value

x

Note

This function alters x itself by reference and in addition returns x invisibly. If x is not a generic_spct object, x is not modified.

See Also

Other measurement metadata functions: add_attr2tb(), getFilterProperties(), getHowMeasured(), getInstrDesc(), getInstrSettings(), getSoluteProperties(), getWhatMeasured(), getWhenMeasured(), getWhereMeasured(), get_attributes(), isValidInstrDesc(), isValidInstrSettings(), select_spct_attributes(), setFilterProperties(), setHowMeasured(), setInstrDesc(), setInstrSettings(), setSoluteProperties(), setWhenMeasured(), setWhereMeasured(), spct_attr2tb(), spct_metadata(), trimInstrDesc(), trimInstrSettings()

Examples

my.spct <- sun.spct
what_measured(my.spct)
what_measured(my.spct) <- "Sun"
what_measured(my.spct)


photobiology documentation built on Oct. 21, 2023, 1:06 a.m.