Skip to contents

Function to read the idfactor attribute of an existing generic_spct.

Usage

getIdFactor(x)

id_factor(x)

Arguments

x

a generic_spct object

Value

character

Note

If x is not a generic_spct or an object of a derived class NA is returned.

See also

Other idfactor attribute functions: setIdFactor()

Examples

id_factor(sun_evening.spct)
#> [1] "spct.idx"