.getModalValue | R Documentation |
This function calculates the modal value of a vector, which is the most frequently occurring value. If the vector is empty or contains only NA values, it returns NA.
.getModalValue(x)
x |
A vector of values. |
The modal value of the vector. If the vector is empty or contains only NA values, returns NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.