freq_table creates frequency table for factor data and
returns the frequency, cumulative frequency, frequency percent and cumulative
frequency percent. barplot.freq_table creates bar plot for the
frequency table created using freq_table
Usage
freq_table(data)
# S3 method for freq_table
barplot(height, ...)
Arguments
data
numeric or factor vector
height
an object of class freq_table
...
further arguments to be passed to or from methods
Value
freq_table returns an object of class "freq_table".
An object of class "freq_table" is a list containing the
following components