| d_mode | R Documentation |
Finds the most frequent value (the mode) in a vector.
d_mode(x)
x |
A vector. |
The mode of the vector. Returns NA if the vector is empty.
d_mode(c(1, 2, 2, 3, 3, 3, 4))
d_mode(c("a", "b", "a"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.