R/expandify.R
distribute_counts.Rd
distribute counts given a desired distribution (with smart rounding)
distribute_counts(total, dist)
total count to distribute
target distribution (a vector that sums to 1)