# NOT_CRAN <- TRUE NOT_CRAN <- identical(tolower(Sys.getenv("NOT_CRAN")), "true") knitr::opts_chunk$set( purl = NOT_CRAN, eval = NOT_CRAN, fig.align = "center", comment = "#> " ) library(ecoocc)
The goal of
ecooc is to implement common ecological methods that deal
with presence absence matrices. Performance was one of the most important
feature the core of the function are therefore written in C++.
mat <- matrix(stats::runif(2000)>.9, ncol = 20) res <- apply(ec_rarefaction(mat, 1000), 1, mean) plot(res, type = "l", lwd = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.