Calculate the mode (modal value) and return a label
modal(x, na.rm = TRUE)
x | A vector |
---|---|
na.rm | If TRUE missing values are removed before calculation |
From https://www.tutorialspoint.com/r/r_mean_median_mode.htm
#> [1] "b"#> [1] 5#> [1] b #> Levels: a b c d e f g h i j k l m n o p q r s t u v w x y z#> [1] TRUE