Processing and Organisation

Functions for importing and processing spectral data

aggspec

Aggregate reflectance spectra

as.rspec is.rspec

Convert data to an rspec object

getspec

Import spectra files

irrad2flux flux2irrad

Converts between irradiance and photon (quantum) flux

merge

Merge two rspec objects

procspec

Process spectra

spec2rgb

Spectrum to rgb color conversion

subset

Subset rspec, vismodel, and colspace objects

Visualisation

Functions for visualising spectral data, including the results of visual modelling

aggplot

Plot aggregated reflectance spectra

axistetra

Plot reference axes in a static tetrahedral colorspace

explorespec

Plot spectral curves

legendtetra

Add legend to a static tetrahedral colorspace

plot

Plot spectra in a colourspace

plot

Plot spectra

plotsmooth

Plot loess smoothed curves

points

Plot points in a colorspace

projplot projpoints

Hue projection plot

sensdata

Retrieve or plot in-built data

tcsplot tcspoints tcsvol

Interactive plot of a tetrahedral colorspace

Analysis

Functions for analysing spectral data

coldist

Color distances

colspace

Model spectra in a colorspace

peakshape

Peak shape descriptors

segspace

Segment classification

sensmodel

Modelling spectral sensitivity

summary

Colorspace data summary

summary

Colorimetric variables

summary

Visual model summary

vismodel

Visual models

vol

Plot a tetrahedral color space

voloverlap

Color volume overlap

Misc

Assorted functions containing example and internally-used data

bgandilum

Default backgound and illuminant data

flowers

Reflectane spectra from a suite of native Australian flowers, collected around Cairns, Queensland.

tcs

Deprecated function(s) in the pavo package

pavo-package

pavo: analyzing color data in R

sicalis

Spectral curves from three body regions of Stripe-Tailed Yellow Finch (Sicalis citrina) males

teal

Angle-resolved reflectance data for the iridescent wing patch of a male green-winged teal (Anas carolinensis)

transmissiondata

Default ocular transmission data

ttvertex

vertex for the tetrahedral color space

vissyst

Animal visual systems data