lets.iucncont {letsR} | R Documentation |
Transform IUCN RedList conservation status to continuous values
Description
Transform IUCN RedList conservation status to continuous values ranging from 0 to 5.
Usage
lets.iucncont(x, dd = NA, ne = NA)
Arguments
x |
A vector or a matrix containing IUCN codes to be transformed. |
dd |
The value to be attributed to DD (data-deficient) species, the default option is NA. |
ne |
The value to be attributed to NE (not-evaluated) species, the default option is NA. |
Value
Returns a vector/matrix with continuos values from 0 to 5.
EX and EW = 5
CR = 4
EN = 3
VU = 2
NT = 1
LC = 0
DD = NA
NE = NA
Author(s)
Bruno Vilela
References
Purvis A et al., 2000. Predicting extinction risk in declining species. Proceedings of the Royal Society of London. Series B: Biological Sciences, 267.1456: 1947-1952.
See Also
Examples
## Not run:
#Vector transformation
status <- sample(c("EN","VU", "NT", "CR", "DD", "LC", "EX"),
30, replace = TRUE)
transV <- lets.iucncont(status)
#matrix transformation
data(IUCN)
transM <- lets.iucncont(IUCN)
## End(Not run)
[Package letsR version 5.0 Index]