Learn R Programming

geoSpectral (version 0.17.5)

SpcList: Constructor function for the SpcList class.

Description

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

Usage

SpcList(x)

Arguments

x

a list object

Examples

Run this code
# NOT RUN {
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))

# }

Run the code above in your browser using DataLab