setHowMeasured: Set the "how.measured" attribute

View source: R/spct.metadata.r

setHowMeasuredR Documentation

Set the "how.measured" attribute

Description

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

Usage

setHowMeasured(x, how.measured)

how_measured(x) <- value

Arguments

x

a generic_spct object

how.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(), setInstrDesc(), setInstrSettings(), setSoluteProperties(), setWhatMeasured(), setWhenMeasured(), setWhereMeasured(), spct_attr2tb(), spct_metadata(), trimInstrDesc(), trimInstrSettings()

Examples


my.spct <- sun.spct
how_measured(my.spct)
how_measured(my.spct) <- "simulated with a radiation transfer model"
how_measured(my.spct)


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