Categorical Data in the Tidyverse
Emily Robinson
Data Scientist
forcats functions: fct_reorder(), fct_collapse(), fct_other(), fct_relevel(), fct_rev(), fct_lump_n(), fct_lump_prop()& fct_recode()tidyverse functions: case_when(), across(), pivot_longer(), & str_remove()ggplot2 tricks: scales::percent_format(), labs(), & axis.text.xCategorical Data in the Tidyverse