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.
top_pct(v, pct = 99)a numeric vector indicating the indices of the elements to keep.
A numeric vector.
percent of area to drop
Aniko B. Toth anikobtoth@gmail.com
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/
Other AOO functions:
createGrid(),
getAOO(),
jplot(),
makeAOOGrid()