This function returns a numeric vector of the same length as the input, where each element
n contains the proportion
the sum of the full vector that is captured by its first
1-n elements (arranged in descending order).
An input numeric vector to be aggregated.
A CDF plot displaying the appropriate CDF curves on the default device.