Skip to contents

Installation

Stable version from CRAN:

install.packages("rasterdiv")

Development version from GitHub:

# install.packages("remotes")
remotes::install_github("mattmar/rasterdiv")

What is rasterdiv?

rasterdiv is an R package that provides functions to apply diversity indexes based on Information Theory on RasterLayer or numerical matrices. Supported indexes include:

  • Parametric Rao’s quadratic entropy (classical and multidimensional);
  • Shannon’s diversity index;
  • Pielou’s evenness index;
  • Hill’s generalised entropy;
  • Rényi’s generalised entropy;
  • Berger-Parker index;
  • Cumulative Residual Entropy (CRE)

New Features

Key Features

  • Moving Window and Area-Based Calculations: Derive indexes using a “moving window” approach (all functions) or area-based Parametric Rao’s quadratic entropy via paRao()