Takes in variable and finds mode, works with sampling weights
Sampling weights of variable (optional)
Makes use of the freq function, part of the descr package
Returns the modal value of the variable
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.