This function lets the user group, count, calculate percentages and cumulatives. It also plots if needed. Perfect for inside with dplyr's pipes.
freqs(vector, ..., plot = FALSE, rm.na = FALSE)
Data.frame
Variables. Variables you wish to process. Order matters.
Boolean. Do you want to see a plot? Three variables tops.
Boolean. Remove NA values in the plot? (not filtered for numerical output; use na.omit() or filter() if needed)