ElevDistr is a method to calculate the distance to the climatic tree line for large data sets of coordinates (WGS 84) with geographical uncertainty. This R package was developed in the context of the article "Avoiding impacts of phylogenetic tip-state-errors on dispersal and extirpation rates in alpine plant biogeography". For citing this package see below. The default thresholds and the treeline definition is based on Paulsen and Körner, Alp. Bot. 124: 1-12 (2014), users are free to decide what climate layers they would like to use.
The package ElevDistr can be installed via CRAN or from GitHub using the package devtools.
Stable version from CRAN:
install.packages("ElevDistr")
library("ElevDistr")
Developmental from GitHub:
install.packages("devtools", repos = "http://cran.us.r-project.org")
devtools::install_github("LivioBaetscher/ElevDistr")
library("ElevDistr")
Please cite: Bätscher and de Vos, J. Biogeogr. (2024), or see:
citation("ElevDistr")
A detailed description can be found on the Wiki or the package vignette.