Description Usage Arguments Value Examples
Cast to factor, ordering by frequency
1 |
x |
a character or a factor |
a factor, ordered by frquency
1 2 3 4 | x=iris$Sepal.Length %>% cut(c(-Inf, 4.5, 5.4, Inf))
x %>% table
x %>% factor_by_freq %>% table
x %>% factor_by_freq %>% levels
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.