Share of total area carried by the largest fires
landmine_area_share(sizes, topQuantile = 0.95)A numeric scalar between 0 and 1.
Strictly greater-than, so fires exactly at the quantile are excluded. With a heavily
tied distribution – which a rounded truncated Pareto is, since most draws round to 1 –
that matters: the selected set can be much smaller than 1 - topQuantile of the fires.
landmine_area_share(c(1, 1, 1, 1, 100), 0.5)
#> [1] 0.9615385