| rel_freq | R Documentation |
Relative frequency of values of a categorical variable.
rel_freq(variable)
variable |
A factor as a categorical variable |
Relative frecuency distribution table for the values in
variable.
rel_freq(factor(c(0,1)))
rel_freq(factor(c('a','a','b')))
## Not run:
rel_freq(c(0,1))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.