Skip to contents

calculate absolute and relative frequencies of categorical varables

Usage

frequency_table(x, perc_digits = 1, sort_freq = FALSE)

Arguments

x

vector with categorical variable

perc_digits

number of decimal digits for percentages, default = 1

sort_freq

sort according to frequency counts, logical, default: TRUE