knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  dpi = 300,             # High resolution for sharp plots
  fig.width = 7,         # Width of the figures
  fig.height = 5,        # Height of the figures
  out.width = "100%",    # Adjust output width to be responsive
  out.height = "auto",   # Adjust output height to maintain aspect ratio
  fig.align = 'center'   # Center align figures
)

cran version Downloads (monthly) Downloads (total)

rasterdiv

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:

New Features

Key Features

Learn More on rasterdiv



mattmar/rasterdiv documentation built on Feb. 25, 2025, 5:59 p.m.