# Class and Methods for Spectral Data

## Documentation for package ‘spectrolab’ version 0.0.19

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

## Help Pages

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
bands | Get spectra band labels
bands.spectra | Get spectra band labels
bands<- | Set band labels
combine | Combine spectral datasets
combine.spectra | Combine spectral datasets
default_spec_regions | Return default spectral regions matrix
dim.spectra | Get dimension of spectra
guess_splice_at | Guess splice bands (bounds between senors)
guess_splice_at.spectra | Guess splice bands (bounds between senors)
is_spectra | Is it a spectra object?
make_fwhm | Resample the FWHM to a new set of bands using a gaussian model
match_sensors | Match spectra at sensor transitions
match_sensors.spectra | Match spectra at sensor transitions
max.spectra | Maximum value
mean.spectra | Mean spectrum
median.spectra | Median spectrum
meta | Get metadata
meta.spectra | Get metadata
meta<- | Set metadata
min.spectra | Minimum value
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
pairwise_indices | Pairwise indices
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 spectral values
read_spectra | Read files from various formats into 'spectra'
resample | Resample spectra
sd | Standard deviation
sd.default | Default standard deviation
sd.spectra | Standard deviation spectrum
smooth | Generic Smoothing function
smooth.default | Default smoothing function
smooth.spectra | Smooth spectra
smooth_fwhm | Smooth spectra with a gaussian model
smooth_moving_avg | Smooth moving average for spectra
smooth_spline | Smooth spline functions for spectra
spectra | Spectra object constructor
spec_matrix_example | Example spectral dataset
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
value | Get spectra value
value.spectra | Get spectra value
value<- | Set spectra value
var | Variance
var.default | Variance
var.spectra | Variance spectrum
[.spectra | Subset spectra
[<-.spectra | Assign values to spectra