Tidyverse 中的分类数据
Emily Robinson
Data Scientist
forcats 函数:fct_reorder(), fct_collapse(), fct_other(), fct_relevel(), fct_rev(), fct_lump_n(), fct_lump_prop() 和 fct_recode()tidyverse 函数:case_when(), across(), pivot_longer(), 和 str_remove()ggplot2 技巧:scales::percent_format(), labs() 和 axis.text.xTidyverse 中的分类数据