# proxirr

R package to calculate Alpha, Beta and Gamma Proximity to Irreplaceability.

The methods for Alpha and Beta Irreplaceability were first described in:

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  Baisero D., Schuster R. & Plumptre A.J.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  Redefining and Mapping Global Irreplaceability.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  Conservation Biology 2021;1-11.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  [https://doi.org/10.1111/cobi.13806](https://doi.org/10.1111/cobi.13806)

## Installation

### From CRAN

```r
install.packages("proxirr")
library(proxirr)
```

### From source code

Source code is available from [https://gitlab.com/daniele.baisero/proxirr_R](https://gitlab.com/daniele.baisero/proxirr_R).

To install from source code you will need to install the 'devtools' package. Some of the devtools dependencies may have system requirements; please explore these if errors arise. Unfortunately these cannot be solved at the package level.

```r
library(devtools)
install_gitlab("daniele.baisero/proxirr_R")
```
