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


spectrolab documentation built on Feb. 16, 2023, 10:27 p.m.