setIdFactor: Set the "idfactor" attribute

Description Usage Arguments Value Note See Also

View source: R/spct.classes.r

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

1
setIdFactor(x, idfactor)

Arguments

x

a generic_spct object

idfactor

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

Value

x

Note

This function alters x itself by reference and in addition returns x invisibly. If x is not a generic_spct or an object of a class derived from generic_spct, x is not modified.

See Also

Other idfactor attribute functions: getIdFactor()


photobiology documentation built on Aug. 28, 2020, 1:11 a.m.