Description Usage Arguments Value
This function creates a frequency table from a vector. The frequency table is ordered and limited to 'length_out' rows and cumulative frequency and percentage can added.
1 | freq_table(x, length_out = Inf, cum = FALSE)
|
x |
a vector |
length_out |
the maximum number of rows in the output, default to Inf |
cum |
logical, whether to add cumulative frequency and percentage, default to FALSE |
a frequency table with the top 'length_out' most frequent modalities and the associated frequency, percentage and possibly cumulative frequency and percentage.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.