View source: R/Mode_Functions.R
anti_Mode_numeric | R Documentation |
This function returns the value that is NOT the mode (anti-mode) of a numeric vector(x). Note this is only valid for vectors with two possible values
anti_Mode_numeric(x)
x |
A vector consisting of two values for which the Mode(x) is computed. x must be a vector of numeric values, missing values are dropped from computations; for character data use Mode.alpha(). |
a numeric value, the value that is not the mode of x
x <- c(5,4,5,4,5,5,4,4,5,5,4,5,4,4,5,4,5,5,5,4,4,5,5,4,5)
anti_Mode_numeric(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.