freq_table | R Documentation |
compute frequency table.
freq_table(data, ..., vars = NULL, na.rm = TRUE)
data |
a data frame |
... |
One or more unquoted expressions (or variable names) separated by commas. Used to specify variables of interest. |
vars |
optional character vector containing variable names. |
na.rm |
logical value. If TRUE (default), remove missing values in the variables used to create the frequency table. |
a data frame
data("ToothGrowth") ToothGrowth %>% freq_table(supp, dose)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.