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, Pierre-Paul Bitton

Need help with the package? Join the chat:

About

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

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

898

Version

1.0.0

License

GPL (>= 2)

Maintainer

Rafael Maia

Last Published

December 5th, 2016

Functions in pavo (1.0.0)

pavo-deprecated

Deprecated function(s) in the pavo package
pavo-package

pavo: analyzing color data in R
projplot

Hue projection plot
summary.vismodel

Visual Model Summary
segclass

Segment classification
tcspace

Tetrahedral colourspace
cie

CIE colour spaces
flowers

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

Import spectra files
catplot

Plot the categorical colour vision model
legendtetra

Add legend to a static tetrahedral colorspace
merge.rspec

Merge two rspec objects
spec2rgb

Spectrum to rgb color conversion
subset.rspec

Subset rspec, vismodel, and colspace objects
tetraplot

Plot a static tetrahedral colorspace
aggplot

Plot aggregated reflectance spectra
aggspec

Aggregate reflectance spectra
coldist

Color distances
cocplot

Plot the colour opponent coding diagram
plot.rspec

Plot spectra
plotsmooth

Plot loess smoothed curves
vissyst

Animal visual systems data
vol

Plot a tetrahedral color space
transmissiondata

Default ocular transmission data
bgandilum

Default backgound and illuminant data
colspace

Model spectra in a colorspace
categorical

Categorical fly-visual model
peakshape

Peak shape descriptors
diplot

Plot a dichromat segment
plot.colspace

Plot spectra in a colourspace
sensmodel

Modelling spectral sensitivity
sicalis

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

Interactive Plot of a Tetrahedral Colorspace
teal

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

Dichromatic colour space
explorespec

Plot spectral curves
summary.colspace

Colorspace data summary
summary.rspec

Colorimetric variables
triplot

Plot a maxwell triangle
trispace

Trichromatic colour space
points.colspace

Plot points in a colorspace
procspec

Process spectra
cieplot

CIE plot
coc

Color opponent coding model
hexplot

Plot a colour hexagon
irrad2flux

Converts bewtween irradiance and photon (quantum) flux
as.rspec

Convert data to an rspec object
axistetra

Plot reference axes in a static tetrahedral colorspace
getspecf

Fast importing of spectral data files
hexagon

Colour hexagon
ttvertex

vertex for the tetrahedral color space
vismodel

Visual Models
voloverlap

Color volume overlap