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