Learn R Programming

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

pavo

An R package for the spectral and spatial analysis of color patterns

Currently maintained by Rafael Maia, Thomas White, and Hugo Gruson.

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

898

Version

2.0.0

License

GPL (>= 2)

Maintainer

Rafael Maia

Last Published

September 22nd, 2018

Functions in pavo (2.0.0)

adjacent

Run an adjacency and boundary strength analysis
catplot

Plot the categorical colour vision model
bootcoldist

Bootstrap colour distance confidence intervals
axistetra

Plot reference axes in a static tetrahedral colorspace
jnd2xyz

Convert JND distances into perceptually-corrected Cartesian coordinates
cocplot

Plot the colour opponent coding diagram
coldist

Color distances
explorespec

Plot spectral curves
colspace

Model spectra in a colorspace
flowers

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

Plot a dichromat segment
jndplot

Perceptually-corrected chromaticity diagrams
dispace

Dichromatic colour space
img_conversion

Convert images between class rimg and cimg
getspec

Import spectra files
getimg

Import image data
plot.colspace

Plot spectra in a colourspace
aggspec

Aggregate reflectance spectra
as.rimg

Convert data to an rimg object
hexagon

Colour hexagon
parse_procspec

Import ProcSpec spectra file
hexplot

Plot a colour hexagon
irrad2flux

Converts between irradiance and photon (quantum) flux
plot.rimg

Plot unprocessed or colour-classified images
merge.rspec

Merge two rspec objects
tcsplot

Interactive plot of a tetrahedral colorspace
points.colspace

Plot points in a colorspace
procimg

Process images
plot.rspec

Plot spectra
pavo-package

pavo: Perceptual Analysis, Visualization and Organization of Spectral Color Data in R
parse_avantes

Import Avantes binary file
classify

Identify colour classes in an image for adjacency analyses
coc

Color opponent coding model
jndrot

Rotate Cartesian coordinates obtained from jnd2xyz
peakshape

Peak shape descriptors
segplot

Plot the segment-analysis model
plotsmooth

Plot loess smoothed curves
teal

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

Color volume overlap
legendtetra

Add legend to a static tetrahedral colorspace
segspace

Segment classification
triplot

Plot a maxwell triangle
sicalis

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

Trichromatic colour space
summary.rimg

Image summary
summary.rspec

Colorimetric variables
procspec

Process spectra
ttvertex

vertex for the tetrahedral color space
vismodel

Visual models
spec2rgb

Spectrum to rgb color conversion
vissyst

Animal visual systems data
vol

Plot a tetrahedral color space
projplot

Hue projection plot
subset.rspec

Subset rspec, vismodel, and colspace objects
pavo-deprecated

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

Colorspace data summary
sensdata

Retrieve or plot in-built data
sensmodel

modeling spectral sensitivity
summary.vismodel

Visual model summary
tcspace

Tetrahedral colourspace
tetraplot

Plot a static tetrahedral colorspace
transmissiondata

Default ocular transmission data
as.rspec

Convert data to an rspec object
bgandilum

Default background and illuminant data
categorical

Categorical fly-visual model
aggplot

Plot aggregated reflectance spectra
cie

CIE colour spaces
cieplot

CIE plot
coldist2mat

Convert coldist to distance matrix