fundiversity: a modular R package to compute functional diversity indices

Abstract

  1. Functional diversity is widely used and widespread. However, the main package used to compute functional diversity indices FD is not flexible and not adapted to the volume of data used in modern ecological analyses.

  2. We here present fundiversity, an R package that eases the computation of classical functional diversity indices. It leverages parallelization and memoization (caching results in memory) to maximize efficiency with data with thousands of columns and rows.

  3. In addition to being more flexible we did a performance comparison with packages that provide analog functions. fundiversity was always an order of magnitude quicker than alternative packages.

  4. fundiversity aims to be a lightweight efficient tool to compute functional diversity indices, that can be used in a variety of contexts. Because it has been designed following clear principles, it is easy to extend. We hope the wider community will adopt it and we welcome all contributions.

Publication
Ecography
Date