freqTab {multiUS} | R Documentation |
The function creates a frequency table with percentages for the selected categorical variable.
freqTab(x, dec = NULL, ...)
x |
Vector with the values of a categorical variable. |
dec |
Number of decimal places for percentages. |
... |
Arguments passed to function |
Aleš Žiberna
freqTab(mtcars[,2], dec = 1)