freq_cont: Frequency Distribution of Continuous Data
Description
freq_cont returns the frequency distribution of
continuous by splitting the data into equidistant intervals created based on
the number of bins specified. hist.freq_cont creates histogram
for the frequency table created using freq_cont
Usage
freq_cont(data, bins = 5)
# S3 method for freq_cont
hist(x, col = "blue", ...)
Arguments
data
numeric vector
bins
number of intervals into which the data must be split
x
an object of class freq_cont
col
color of the bars
...
further arguments to be passed to or from methods
Value
freq_cont returns an object of class "freq_cont"
An object of class "freq_cont" is a list containing the
following components