Learn R Programming

redlistr (version 2.1.0)

top_pct: Identify positions of the bottom 1% of ecosystem area in AOO grid

Description

top_pct returns the vector positions of the largest elements collectively comprising a given percentage more of the vector sum. This function helps perform the bottom_1pct_rule when selecting the AOO grid by identifying grid positions to keep.

Usage

top_pct(v, pct = 99)

Value

a numeric vector indicating the indices of the elements to keep.

Arguments

v

A numeric vector.

pct

percent of area to drop

Author

Aniko B. Toth anikobtoth@gmail.com

References

IUCN (2024). Guidelines for the application of IUCN Red List of Ecosystems Categories and Criteria, Version 2.0. Keith, D.A., Ferrer-Paris, J.R., Ghoraba, S.M.M., Henriksen, S., Monyeki, M., Murray, N.J., Nicholson, E., Rowland, J., Skowno, A., Slingsby, J.A., Storeng, A.B., Valderrábano, M. & Zager, I. (Eds.). Gland, Switzerland: IUCN. ix + 94pp. Available at the following web site: https://iucnrle.org/

See Also

Other AOO functions: createGrid(), getAOO(), jplot(), makeAOOGrid()