Description Usage Arguments Value Examples
View source: R/myMultipleMode.R
This function allows you to calculate multiples mode if your data is multimodal.
1 | myMultipleMode(values, multiple = FALSE)
|
multiple |
TRUE will retur multiple variables, FALSE will show only one of the modes. Defaults to FALSE. |
x |
R object |
A list with the mode of x
and the times it was repeated.
1 2 3 | myNumbers <- c(7,6,6,10,6,6,7,3,7,14,20,7)
myMultipleMode(myNumbers)
myMultipleMode(myNumbers, TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.