spectra: Create a spectra object

Description Usage Arguments Value

Description

Create a spectra object

Usage

1

Arguments

reflectance

N by M numeric matrix. N samples in rows. values between 0 and 1.

wavelengths

wavelength names in vector of length M

names

sample names in vector of length N

meta

spectra metadata. defaults to NULL. Must be either of length or nrow equals to the number of samples (i.e. nrow(reflectance) or length(names) )

Value

spectra object


annakat/casper_defunct documentation built on May 10, 2019, 11:50 a.m.