-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathreadme.Rmd
112 lines (72 loc) · 3.35 KB
/
readme.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-"
)
```
<img src="https://raw.githubusercontent.com/gdauby/ConR/devel/inst/figures/conr_sticker4.png" align="right" alt="" width="120" />
# ConR package
<br/><br/>
The ``ConR`` package aims at assisting the preliminary assessment of species
conservation status based on the International Union for Conservation of Nature
(IUCN) Red List Categories and Criteria. More specifically, it helps users to
calculate the population metrics related to the IUCN criteria A, B, C and D and
to assign one of the IUCN categories (i.e. EX, EW, CR, EN, VU, NT, LC, DD). It
was developed speed up the assessment of hundreds to thousands of species at the
same time.
The ideas behind this package, and its testing involved many people and
institutes.
<!-- See the original paper published in [Ecology and Evolution](https://onlinelibrary.wiley.com/doi/full/10.1002/ece3.3704). -->
The package it not available anymore on CRAN because of the recent retirement of various packages (rgdal, rgeos).
The new version is nevertheless available on github and will soon be available on CRAN.
To install the github version :
```
install.packages("devtools")
devtools::install_github("gdauby/ConR")
```
## Install R, ConR and dependent packages
**First step**. Install [R](https://cran.r-project.org/).
<!-- **Second step**. A proper way to work with R is to define a [working directory](https://bookdown.org/ndphillips/YaRrr/the-working-directory.html). If you are working with Rstudio, you can create the first time a [project](https://bookdown.org/ndphillips/YaRrr/projects-in-rstudio.html), which much simplify handling of scripts and data. -->
## Loading ConR
**Attach ConR package**
This should be done everytime you open an R session.
```
library(ConR)
```
```{r loadData, include=FALSE}
library(ConR)
data(dataset.ex)
MyData <- dataset.ex
MyData <- MyData[which(!MyData[,3] %in% c("species_1", "species_2")),]
MyData$tax <- as.character(MyData$tax)
```
**Help files**
Any function in R is documented by a help file which can be obtained by the
following code:
```
?EOO.computing
?AOO.computing
?subpop.comp
?locations.comp
?criterion_A
?EOO.sensitivity
```
A mode detailed manual on how to use this package is available [here](https://raw.githubusercontent.com/gdauby/ConR/devel/vignettes/articles/ConR.pdf).
## Funding
The development of this package was supported by:
- the European Union’s Horizon 2020 research and innovation program under the Marie Skłodowska-Curie grant agreement No 795114 ([THREAT project](https://cordis.europa.eu/project/id/795114))
- CESAB (Centre for the Synthesis and Analysis of Biodiversity). Research program of the FRB (Foundation for Research on Biodiversity) under the [RAINBIO project](https://gdauby.github.io/rainbio/index.html).
<!-- ## Acknowledgements -->
## Citation
G. Dauby & R. A. F. de Lima (2023). ConR: Computation of Parameters Used in
Preliminary Assessment of Species Conservation Status. R package (version
2.1.0).
## See Also
Other R packages related to IUCN assessments:
- [`rredlist`](https://cran.r-project.org/web/packages/rredlist/rredlist.pdf)
- [`red`](https://cran.r-project.org/web/packages/red/red.pdf)
- [`redlistr`](https://cran.r-project.org/web/packages/redlistr/redlistr.pdf)