Select spectra

# S3 method for class 'spectra'
spectra[i, j, drop = FALSE]

Arguments

spectra

Object of class spectra

i, j

indices specifying elements to extract or replace. See base::Extract for details.

drop

Coerce result to the lowest dimension possible? See base::drop() for details.