freqTable prints a frequency table and histogram of a vector.
a vector of any type
Upper limit of the bars in histogram. Default is NULL, for which the function will automatically find the suitable limit. This value should be in fraction (between 0 to 1)
This function works for all type of vector type. But calling
for vector with many unique values will print a very long table. If the
limit parameter is left blank, then the limit of
histogram is adjusted automatically and is shown at the end in brackets
This function is used in the
Prints a table with columns
Value Value. Each row has a unique value in this table
Freq The frequency count of the Value
Proportion Proportion of the Value
(= Freq / length(x))
This table is followed by a histogram with bars for each of the unique values present in the data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.