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

680

Version

1.1.0

License

GPL (>= 2)

Maintainer

Rafael Maia

Last Published

May 5th, 2017

Functions in pavo (1.1.0)

bgandilum

Default backgound and illuminant data
categorical

Categorical fly-visual model
catplot

Plot the categorical colour vision model
cie

CIE colour spaces
aggplot

Plot aggregated reflectance spectra
aggspec

Aggregate reflectance spectra
cieplot

CIE plot
coc

Color opponent coding model
as.rspec

Convert data to an rspec object
axistetra

Plot reference axes in a static tetrahedral colorspace
dispace

Dichromatic colour space
explorespec

Plot spectral curves
cocplot

Plot the colour opponent coding diagram
coldist

Color distances
sensmodel

Modelling spectral sensitivity
sicalis

Spectral curves from three body regions of Stripe-Tailed Yellow Finch
plot.colspace

Plot spectra in a colourspace
plot.rspec

Plot spectra
segplot

Plot the segment-analysis model
irrad2flux

Converts bewtween irradiance and photon (quantum) flux
legendtetra

Add legend to a static tetrahedral colorspace
spec2rgb

Spectrum to rgb color conversion
subset.rspec

Subset rspec, vismodel, and colspace objects
segspace

Segment classification
tetraplot

Plot a static tetrahedral colorspace
transmissiondata

Default ocular transmission data
ttvertex

vertex for the tetrahedral color space
colspace

Model spectra in a colorspace
diplot

Plot a dichromat segment
pavo-package

pavo: analyzing color data in R
peakshape

Peak shape descriptors
triplot

Plot a maxwell triangle
getspecf

Fast importing of spectral data files
getspecf2

Fast importing of spectral data files
merge.rspec

Merge two rspec objects
pavo-deprecated

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

Colorspace data summary
summary.rspec

Colorimetric variables
flowers

Reflectane spectra from a suite of native Australian flowers, collected
getspec

Import spectra files
hexagon

Colour hexagon
hexplot

Plot a colour hexagon
vismodel

Visual Models
plotsmooth

Plot loess smoothed curves
points.colspace

Plot points in a colorspace
summary.vismodel

Visual Model Summary
tcspace

Tetrahedral colourspace
voloverlap

Color volume overlap
trispace

Trichromatic colour space
procspec

Process spectra
projplot

Hue projection plot
tcsplot

Interactive Plot of a Tetrahedral Colorspace
teal

Angle-resolved reflectance data for the iridescent wing patch of a male green-winged
vissyst

Animal visual systems data
vol

Plot a tetrahedral color space