Skip to content

yeelauren/spThin

 
 

Repository files navigation

spThin

Build Status Coverage Status CRAN_Status_Badge

spThin contains functions to spatially rarefy and thin species occurrence data. These procedures can ameliorate sampling bias, and in turn result in better ecological niche models. The package contains functions to thin datasets using exact-algorithm solvers (lp_solve and Gurobi) and a stingy heuristic. This package also contains functions to rarefy datasets using grids.

Linux and Mac OSX users will first need to install several dependencies. To install them, type the following code in the bash or the terminal:

sudo apt-get update
sudo apt-get install libgdal-dev
sudo apt-get install libproj-dev

To install the spThin R package, execute the following commands in R:

if (!require('devtools'))
	install.packages('devtools', repo='http://cran.rstudio.com', dep=TRUE)
devtools:::install_github('mlammens/spThin')

Once this package has been installed, you can explore the functions of this package by reading through the vignette. You can access it in R by running the code below:

# open vignette in web browser
vignette('spThin', package='spThin')

If this R package helped you, please cite it.

M.E. Aiello-Lammens, R.A. Boria, A. Radosavljevic, B. Vilela, R.P. Anderson (2015). spThin: an R package for spatial thinning of species occurrence records for use in ecological niche models. Ecography, 38: 541-545.

M.E. Aiello-Lammens, J. Hanson, R.A. Boria, A. Radosavljevic, B. Vilela, R.P. Anderson (2015). spThin (ver. 1.0.0): Functions to spatially rarefy and thin species occurrence data

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 55.7%
  • HTML 25.6%
  • C++ 18.7%