Description Usage Arguments Value Examples
View source: R/utility_functions.R
This function determines the mode for a vector.
1 |
x |
a vector (can be numeric or a set of strings). |
discrete |
a logical value; if true, an empirical estimate of the probability mass function is used to determine the mode. If false, an empirical estimate of the probability density function is used instead. |
... |
additional options for the |
Returns the estimated mode for the vector.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.