split.spectra: Split spectra

Description Usage Arguments Value Author(s) Examples

View source: R/transform_spectra.R

Description

split a spectra object into a list of spectra according to grouping f.

Usage

1
2
## S3 method for class 'spectra'
split(x, f, drop = FALSE, ...)

Arguments

x

spectra object

f

factor vector defining the grouping. Must have length nrow(x)

drop

NOT used

...

NOT used

Value

list of spectra

Author(s)

Jose Eduardo Meireles

Examples

1
2
3

spectrolab documentation built on June 2, 2021, 1:07 a.m.