Description Usage Arguments Examples
View source: R/stats.R
most_freq returns the most frequent value in x.
most_freq
x
1
most_freq(x)
A vector.
1 2
most_freq(sample(c("a", "b", "c"), size = 100, replace = TRUE, prob = c(0.1, 0.3, 0.6)))
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.