Mode | R Documentation |
Via http://stackoverflow.com/questions/2547402/is-there-a-built-in-function-for-finding-the-mode
Mode(x, exclude_na = TRUE)
x |
vector |
exclude_na |
Exclude NA from being a possible mode. |
Vector of modal values in arbitrary order.
library(ck37r)
data(Boston, package = "MASS")
table(Boston$chas)
Mode(Boston$chas)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.