Description Usage Arguments Details Value Examples

Takes in variable and finds mode, works with sampling weights

1 |

`x` |
A variable |

`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 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.