Learn R Programming

ggspectra (version 0.3.15)

rename_idfactor: Update idfactor name in object

Description

Conditionally call setIdFactor.

Usage

rename_idfactor(object, idfactor)

Arguments

object

generic_spct object.

idfactor

character The name of the factor identifying spectra when stored in long form.