R: Diversity Metrics Calculations for Rasterized Data

# Diversity Metrics Calculations for Rasterized Data

## Documentation for package ‘divraster’ version 1.2.3

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

area.calc | Calculate SpatRaster Layer Areas and Overlap Areas
area.calc.flex | Flexible Area Calculation for Raster
area.interval | Calculate Area by Interval Classes for SpatRasters
bin2crop | Crop a continuous raster by a binary (0/1) raster footprint (value == 1)
combine.rasters | Combine GeoTIFF rasters into a multilayer SpatRaster
differ.rast | Calculate Absolute or Percentage Difference Between SpatRaster Objects
inputs_chk | Check if objects are valid
load.data | Load data adapted from Mota et al. (2025), Şekercioğlu et al. (2025), Mota et al. (2022), Tobias et al. (2022), and Jetz et al. (2014)
occ.avg.dist | Average pairwise distance between occurrences by species
rast.by.polys | Summarise raster values by polygons
spat.alpha | Alpha calculation for raster
spat.alpha.vec | Alpha calculation for vector
spat.alpha2 | Alternative Method to Calculate Alpha Taxonomic Diversity
spat.beta | Spatial beta diversity for raster
spat.rand | Standardized Effect Size (SES) for raster
spat.trait | Average trait calculation for raster
spat.trait.vec | Average trait calculation for vector
suit.change | Species Suitability Change Between Climate Scenarios
temp.beta | Temporal beta diversity calculation for raster
temp.beta.vec | Temporal beta diversity calculation for vector