Factors

fct_lump_n()

{forcats}

lump all factor levels except the most frequent

fct_lump_min()

{forcats}

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

fct_reorder()

{forcats}

reorder factor levels by sorting along another variable

fct_rev()

{forcats}

reverse order of factor levels

fct_lump_prop()

{forcats}

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

fct_collapse()

{forcats}

collapse factors into manually defined groups

fct_inorder()

{forcats}

reorder factor levels in the order that they first appear

levels()

{base}

view and change factor levels

fct_recode()

{forcats}

change factor levels by hand

fct_relevel()

{forcats}

reorder factor levels by hand

The end!