Skip to contents

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

Arguments

x

a generic_spct object or a summary_generic_spct object.

instr.settings, value

a list or a instr_settings object.

Value

x

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.