uncount: Duplicate rows according to a weighting variable
Description
uncount() is provided by the tidyr package, and re-exported
by ggsurveillance. See tidyr::uncount() for more details.
uncount() and its alias expand_counts() are complements of dplyr::count(): they take
a data frame with a column of frequencies and duplicate each row according to
those frequencies.