A Rcpp implementation of various computations done on presence/absence matrices.
The simplest way to install this packages is to use the remotes package
install.package("remotes") remotes::install_github("KevCaz/ecoocc")
Once installed, load it and try it!
library(ecoocc)
ec_as_pa() creates objects of class pa, there is a shortcut to randomly  generate object of class pa quickly, ec_generate_pa(). 
# a pa object of 10 and 5 species all species having a prensence probability of .4 ec_generate_pa(10, 5, .4)
(mat <- ec_generate_pa(5, 3, .5)) ec_betadiversity(mat)
(mat <- ec_generate_pa(10, 4, .4)) ec_rarefaction(mat, 6)
mat <- rbind(c(0,0,1), c(0,1,0)) ec_cooc(ec_pa(mat))
coocurPresenceAbsenceEcoSimR (currently archived)ecospatAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.