sum_tab | R Documentation |
This function generates a frequency table for a specific variable in a dataset.
sum_tab(data, var_name)
data |
A data frame or tibble. |
var_name |
The name of the variable/column to generate the frequency table. |
It uses enquo() to capture the unquoted variable name and !! to unquote it within the function.
A table showing the frequency of each unique value in the specified variable. #'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.