# Class and Methods for Hyperspectral Data

## Documentation for package ‘spectrolab’ version 0.0.8

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

spectrolab-package | Spectrolab
aggregate.spectra | Aggregate spectra
apply_by_band | Apply numeric function by band
apply_by_band.spectra | Apply numeric function by band
as.data.frame.spectra | Convert spectra to data.frame
as.matrix.spectra | Convert spectra to matrix
as.spectra | Convert matrix or data frame to spectra
as.spectra.data.frame | Convert data.frame to spectra
as.spectra.matrix | Convert matrix to spectra
combine | Combine spectral datasets
combine.spectra | Combine spectral datasets
default_spec_regions | Return default spectral regions matrix
dim.spectra | Get dimension of spectra
has_nir_dip | Has a dip in the NIR region?
is_spectra | Is it a spectra object?
match_sensors | Match spectra at sensor transitions
match_sensors.spectra | Match spectra at sensor transitions
max.spectra | Maximum reflectance
mean.spectra | Mean spectrum
median.spectra | Median spectrum
meta | Get metadata
meta.spectra | Get metadata
meta<- | Set metadata
min.spectra | Minimum reflectance
names.spectra | Get spectra sample names
names<-.spectra | Set spectra sample names
normalize | Vector normalize spectra
normalize.spectra | Vector normalize spectra
Ops.spectra | Arithmetic operators for spectra
plot.spectra | Plot spectra
plot_interactive | Plot spectra interactively
plot_quantile | Plot spectra quantiles
plot_regions | Plot polygons for spectral regions
print.spectra | Print spectra
quantile.spectra | Compute spectra quantiles
range.spectra | Range of reflectance values
ratio | Pairwise reflectance ratios
ratio.spectra | Pairwise reflectance ratios
read_spectra | Read files from various formats into 'spectra'
reflectance | Get spectra reflectance
reflectance.spectra | Get spectra reflectance
reflectance<- | Set spectra reflectance
resample | Resample spectra
resample.spectra | Resample spectra
sd | Standard deviation
sd.default | Default variance
sd.spectra | Standard deviation spectrum
smooth | Generic Smoothing function
smooth.default | Default smoothing function
smooth.spectra | Smooth spectra
spectra | Spectra object constructor
spectrolab | Spectrolab
spec_matrix_example | Example spectral dataset
spec_with_jump | Example spectra with jump between sensors
split.spectra | Split spectra
str.spectra | Structure of the spectra object
subset_by | Subset spectra by factor
subset_by.spectra | Subset spectra by factor
summary.spectra | Summarize spectra
t.spectra | Spectra Transpose
try_keep_txt | Wrap function to try to keep text
var | Variance
var.default | Variance
var.spectra | Variance spectrum
wavelengths | Get spectra wavelength labels
wavelengths.spectra | Get spectra wavelength labels
wavelengths<- | Set wavelength labels
[.spectra | Subset spectra
[<-.spectra | Assign reflectance values to spectra