Learn R Programming

⚠️There's a newer version (2.9.0) of this package.Take me there.

pavo

an R package for spectral color analysis by Rafael Maia, Thomas White, Chad Eliason and Pierre-Paul Bitton

About

A set of functions and tools for the analysis of color data in a unified framework.

Need help with the package?

  • Click the links above for help with specific functions.
  • Check out the Latest News for changes and updates.
  • Read the Package Vignette for detailed examples and workflow pipeline.
  • Can't find what you're looking for? Join the chat:

Citing pavo

The manuscript describing the package has been published and is free to access:

Maia R., Eliason C.M., Bitton P.-P., Doucet S.M. and Shawkey M.D. 2013. pavo: an R Package for the analysis, visualization and organization of spectral data. Methods in Ecology and Evolution 4(10):609-613. [doi: 10.1111/2041-210X.12069] (http://onlinelibrary.wiley.com/doi/10.1111/2041-210X.12069/abstract)

Install

this is the development page for pavo. The stable release is available from CRAN. Simply use install.packages('pavo') to install.

If you want to install the bleeding edge version of pavo, you can:

install.packages('devtools')
devtools::install_github('rmaia/pavo')
require(pavo)
  • download files from github and install using $R CMD INSTALL or, from within R:
install.packages(path,type='source', repos=NULL)

Copy Link

Version

Install

install.packages('pavo')

Monthly Downloads

680

Version

1.3.0

License

GPL (>= 2)

Maintainer

Rafael Maia

Last Published

September 20th, 2017

Functions in pavo (1.3.0)

aggplot

Plot aggregated reflectance spectra
aggspec

Aggregate reflectance spectra
bgandilum

Default background and illuminant data
categorical

Categorical fly-visual model
explorespec

Plot spectral curves
flowers

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

Plot the categorical colour vision model
cie

CIE colour spaces
cocplot

Plot the colour opponent coding diagram
coldist

Color distances
getspecf2

Fast importing of spectral data files
hexagon

Colour hexagon
cieplot

CIE plot
coc

Color opponent coding model
diplot

Plot a dichromat segment
dispace

Dichromatic colour space
jndrot

Rotate Cartesian coordinates obtained from jnd2xyz
legendtetra

Add legend to a static tetrahedral colorspace
coldist2mat

Convert coldist to distance matrix
colspace

Model spectra in a colorspace
merge.rspec

Merge two rspec objects
pavo-deprecated

Deprecated function(s) in the pavo package
plot.colspace

Plot spectra in a colourspace
segplot

Plot the segment-analysis model
segspace

Segment classification
sicalis

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

Spectrum to rgb color conversion
trispace

Trichromatic colour space
as.rspec

Convert data to an rspec object
axistetra

Plot reference axes in a static tetrahedral colorspace
getspec

Import spectra files
getspecf

Fast importing of spectral data files
jnd2xyz

Convert JND distances into perceptually-corrected Cartesian coordinates
jndplot

Perceptually-corrected chromaticity diagrams
plotsmooth

Plot loess smoothed curves
points.colspace

Plot points in a colorspace
subset.rspec

Subset rspec, vismodel, and colspace objects
hexplot

Plot a colour hexagon
irrad2flux

Converts between irradiance and photon (quantum) flux
pavo-package

pavo: analyzing color data in R
peakshape

Peak shape descriptors
tcspace

Tetrahedral colourspace
tcsplot

Interactive plot of a tetrahedral colorspace
vol

Plot a tetrahedral color space
voloverlap

Color volume overlap
ttvertex

vertex for the tetrahedral color space
plot.rspec

Plot spectra
summary.rspec

Colorimetric variables
summary.vismodel

Visual model summary
teal

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

Plot a static tetrahedral colorspace
procspec

Process spectra
projplot

Hue projection plot
sensdata

Retrieve or plot in-built data
sensmodel

modeling spectral sensitivity
vismodel

Visual models
vissyst

Animal visual systems data
summary.colspace

Colorspace data summary
transmissiondata

Default ocular transmission data
triplot

Plot a maxwell triangle