Plots or tabulates cumulative percentages associated with
elements in a vector
Usage
cum_percent_plot(vector, output_type = "plot")
Arguments
vector
a numeric vector
output_type
if output_type = "plot", return a cumulative
percentage plot; if output_type = "dt", return a data.table
with cumulative percentages. By default, output_type = "plot"