Learn R Programming

rstatix (version 0.1.1)

freq_table: Compute Frequency Table

Description

compute frequency table.

Usage

freq_table(data, ..., vars = NULL, na.rm = TRUE)

Arguments

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.

Value

a data frame

Examples

Run this code
# NOT RUN {
data("ToothGrowth")
ToothGrowth %>% freq_table(supp, dose)
# }

Run the code above in your browser using DataLab