Description Usage Arguments Value
View source: R/colors_for_annotation.R
Replaces levels with a maximal occurrence of 1 with other
1 | merge_rare_levels(column, rare_thr = 2)
|
column |
column of the data whose rare categories need to be merged to "other" |
rare_thr |
minimal number of times for a category to be represented to be declared as "rare" and converted to "other" |
column with rare occurrences replaced by other
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.