powered by
Produces a frequency distribution, relative frequency distribution and cumulative distribution from a factor vector.
freqDist(x)
A factor or a numeric variable with relatively few unique vales.
factor
A matrix with the following columns:
The raw frequency count
The relative frequency or percentage of observations in each group
The cumulative percentage of observations in each group
# NOT RUN { data(alberta) freqDist(alberta$k6group) # }
Run the code above in your browser using DataLab