Factors

collapse factors into manually defined groups

fct_collapse()

{forcats}

lump factor levels that appear fewer than a certain proportion of times

fct_lump_prop()

{forcats}

change factor levels by hand

fct_recode()

{forcats}

lump all factor levels except the most frequent

fct_lump_n()

{forcats}

reverse order of factor levels

fct_rev()

{forcats}

reorder factor levels by hand

fct_relevel()

{forcats}

lump factor levels that appear fewer than a certain number of times

fct_lump_min()

{forcats}

reorder factor levels by sorting along another variable

fct_reorder()

{forcats}

view and change factor levels

levels()

{base}

reorder factor levels in the order that they first appear

fct_inorder()

{forcats}

The end!