Stable version from CRAN:
install.packages("rasterdiv")
Development version from GitHub:
# install.packages("remotes")
remotes::install_github("mattmar/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)
- Time Series Integration: The package recently integrated time series of remote sensing data to derive Rao’s index, for example considering plant phenology. See the vignette: Multidimension Rao’s Index.
- Helical Graphs: Prepare and plot time series with “helical graphs”. See the vignette: Visualising rasterdiv indexes with Helical Plots.
- 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()
- rasterdiv—An Information Theory tailored R package for measuring ecosystem heterogeneity from space: To the origin and back;
- Measuring diversity from space: a global view of the free and open source rasterdiv R package under a coding perspective;
- From zero to infinity: Minimum to maximum diversity of the planet by spatio-parametric Rao’s quadratic entropy
- Helical graphs to visualize the NDVI temporal variation of forest vegetation in an open source space
- Phenological Diversity Trends with Remote Sensing Datacubes