mode | R Documentation |
Compute the arithmetic mode of a set of data. The mode is the most commonly appearing value.
mode(x)
x |
A vector or list. |
The mode of the input.
mode(c(1, 1, 2))
mode(list(1, 1, 2))
mode(c(1, NA, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.