Learn R Programming

ggspectra (version 0.3.15)

check_idfactor_arg: Check idfactor argument and retrieve if needed

Description

Check idfactor argument and retrieve if needed

Usage

check_idfactor_arg(object, idfactor = NULL, default = FALSE)

Arguments

object

generic_spct object.

idfactor

character, NULL or NA The name of the factor identifying spectra when stored in long form.