Learn R Programming

photobiology (version 0.13.0)

setInstrSettings: Set the "instr.settings" attribute

Description

Function to set by reference the "what.measured" attribute of a generic_spct, or of a summary_generic_spct object.

Usage

setInstrSettings(x, instr.settings)

instr_settings(x) <- value

Value

x

Arguments

x

a generic_spct object or a summary_generic_spct object.

instr.settings, value

a list or a instr_settings object.

Details

This function alters x itself by reference and in addition returns x invisibly. If x is not a generic_spct object or a summary_generic_spct object, x is not modified, silently. If inst.desc = NULL is passed in the call, the attribute instr.settings is removed. This function is very rarely called from user code.

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(), setSoluteProperties(), setWhatMeasured(), setWhenMeasured(), setWhereMeasured(), spct_attr2tb(), spct_metadata(), subset_attributes(), trimInstrDesc(), trimInstrSettings()