This R package applies the probabilistic model of species cooccurrence (Veech 2013) to a set of species distributed among a set of survey or sampling sites. The algorithm calculates the observed and expected frequencies of cooccurrence between each pair of species. The expected frequency is based on the distribution of each species being random and independent of the other species. The analysis returns the probabilities that a more extreme (either low or high) value of cooccurrence could have been obtained by chance. The package also includes functions for visualizing species cooccurrence results and preparing data for downstream analyses.
Package details 


Author  Daniel M. Griffith, Joseph A. Veech, and Charles J. Marsh 
Maintainer  Daniel M. Griffith <griffith.dan@gmail.com> 
License  GPL2 
Version  1.3 
Package repository  View on GitHub 
Installation 
Install the latest version of this package by entering the following in R:

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.