Learn R Programming

photobiology (version 0.10.6)

setIdFactor: Set the "idfactor" attribute

Description

Function to set by reference the "idfactor" attribute of an existing generic_spct or an object of a class derived from generic_spct.

Usage

setIdFactor(x, idfactor)

Arguments

x

a generic_spct object

idfactor

character The name of a factor identifying multiple spectra stored longitudinally.

Value

x

See Also

Other idfactor attribute functions: getIdFactor()