SpcList: Constructor function for the 'SpcList' class.

Description Usage Arguments Examples

Description

With this function, it is easy to create a SpcList object given an list containing multipls Spectra objects.

Usage

1

Arguments

x

a list object

Examples

1
2
3
4
5
sp=spc.example_spectra()
#Create an SpcList object using two Spectra objects
as(list(sp,sp^2), "SpcList")
#the above is the same as 
SpcList(list(sp,sp^2))

geoSpectral documentation built on Feb. 20, 2020, 5:08 p.m.