Like cm_gini, but the top bracket's income total is the larger
of its estimate from the bracket width and what the total income leaves
after the other brackets.
Arguments
- counts
Counts per bracket: a matrix with one row per region and one column per bracket, e.g.
cbind(v1, v2, v3)insidedplyr::mutate().- lower_cutoffs
The brackets' lower cutoffs, a vector that is the same for every region, or a matrix like
counts.- total
Total income per region, or 0 (the default) for none.
