Representative and Adequate Prioritization Toolkit in R

Biodiversity is in crisis. The overarching aim of conservation is to preserve biodiversity patterns and processes. To this end, protected areas are established to buffer species and preserve biodiversity processes. But resources are limited and so protected areas must be cost-effective. This package contains tools to generate plans for protected areas (prioritizations), using spatially explicit targets for biodiversity patterns and processes. To obtain solutions in a feasible amount of time, this package uses the commercial 'Gurobi' software package (obtained from < http://www.gurobi.com/>). Additionally, the 'rgurobi' package can also be installed to provide extra functionality (obtained from < http://github.com/jeffreyhanson/rgurobi>).


This package depends on several packages which can be difficult to install under Linux and Mac operating systems.

Linux users can install them typing the following code into the terminal:

sudo apt-get update
sudo apt-get install libgdal-dev
sudo apt-get install libproj-dev
sudo apt-get build-dep r-cran-rgl

Mac users can install them using this code in the terminal:

brew install Caskroom/cask/xquartz
brew install gdal
Rscript -e "setRepositories(ind=1:2);install.packages(c('rgdal','rgeos'))"

To install the latest official version from CRAN, use the following R code:

install.packages('raptr')

To install the development version from GitHub, use this R code:

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

Once this package has been installed, you can read through the vignette for a tutorial on how to use it.

View it here, or by running this R code:

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

If this R package helped you, please cite it.

Hanson J. O., Rhodes J. R., Possingham H. P, and Fuller R. A. (2016). raptr: Representative and Adequate Prioritization Toolkit in R. R package. R package version 0.0.3. https://github.com/jeffreyhanson/raptr.

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("raptr")

0.0.5 by Jeffrey O Hanson, a month ago


https://github.com/jeffreyhanson/raptr


Report a bug at https://github.com/jeffreyhanson/raptr/issues


Browse source code at https://github.com/cran/raptr


Authors: Jeffrey O Hanson [aut, cre], Jonathan R Rhodes [aut], Hugh P Possingham [aut], Richard A Fuller [aut]


Documentation:   PDF Manual  


GPL-3 license


Imports utils, boot, grDevices, PBSmapping, graphics, stats, scales, shape, Matrix, adehabitatHR, RgoogleMaps, RandomFields, RColorBrewer, plyr, parallel, doParallel, rgeos, hypervolume, ks, gdalUtils, mvtnorm, ggplot2, testthat

Depends on methods, sp, rgdal, raster

Suggests knitr, dplyr, vegan, gurobi, rgurobi, gridExtra, rgl

Linking to Rcpp, RcppEigen, BH

System requirements: C++11


See at CRAN