lets.iucncont: Transform IUCN RedList conservation status to continuous...

Description Usage Arguments Value Author(s) References See Also Examples

Description

Transform IUCN RedList conservation status to continuous values ranging from 0 to 5.

Usage

1
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

lets.iucn

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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)

letsR documentation built on Oct. 27, 2020, 1:07 a.m.