combineSpectra: Function to combine spectral datasets into one object.

Description Usage Arguments Value Author(s) Examples

View source: R/combineSpectra.R

Description

This function accepts two objects of class spectra.list or spectra.matrix and combines them into one spectra.matrix. These objects should be in the same units and of the same spectral resolution and extend.

Usage

1

Arguments

x

An object of class spectra.list or spectra.matrix.

y

An object of class spectra.list or spectra.matrix.

Value

Returns a spectra.matrix.

Author(s)

Daniel M Griffith

Examples

1
2
3
4
5
## Not run: 
data(shootout)
shootout_scans_x_2 <- combineSpectra(x = shootout_scans, y = shootout_scans)

## End(Not run)

griffithdan/plantspec documentation built on May 17, 2019, 8:37 a.m.