Description
Calculate the Latitudinal Bias Index.
Description
Studies that report shifts in species distributions may be biased by the shape of the study area. The main functionality of this package is to calculate the Latitudinal Bias Index (LBI) for any given shape. The LBI is bounded between +1 (100% probability to exclusively record latitudinal shifts, i.e., range shifts data sampled along a perfectly South-North oriented straight line) and -1 (100% probability to exclusively record longitudinal shifts, i.e., range shifts data sampled along a perfectly East-West oriented straight line).
README.md
GIFT
This R package contains the function LBI to calculate the Latitudinal Bias Index, as described in Sanczuk et al.
:arrow_double_down: Installation
When available on CRAN, you can install and load it using the following commands:
install.packages("latbias")
library("latbias")
To install the development version from the GitHub repository:
# install.packages("devtools")
remotes::install_github("https://github.com/pierredenelle/latbias",
dependencies = TRUE)
library("latbias")
:bug: Find a bug?
Thank you for finding it. Head over to the GitHub Issues tab and let us know about it. Alternatively, you can also send us an email. We will try to get to it as soon as possible!
References and dependencies
latbias depends on dplyr, geosphere, reshape2, sf, sp, stats, terra, tidyr, units and utils.