Description Usage Arguments Details Author(s) References Examples
This function finds the mode of a categorical variable
1 | mode_factor(x)
|
x |
a factor |
The mode is the most frequently occuring level of a categorical variable. This function returns the mode of a categorical variable. If there is a tie for the most frequent level, it returns all modes.
Adam Petrie
Introduction to Regression and Modeling
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.