i_match_ij_spectra: Get internal indexes for spectra attributes

View source: R/getters_and_setters.R

i_match_ij_spectraR Documentation

Get internal indexes for spectra attributes

Description

i_match_ij_spectra gets index position matching i and j

Usage

i_match_ij_spectra(x, i = NULL, j = NULL, allow_negative = FALSE)

Arguments

x

spectra

i

sample names or indices or boolean vector

j

bands or boolean vector, NOT INDICES

allow_negative

boolean. Allow indices i to be negative? Defaults to FALSE

Value

list if row indices and column indices

Author(s)

Jose Eduardo Meireles


annakat/spectrolab documentation built on Oct. 14, 2023, 1:16 a.m.