R4DS Ch. 7

ifelse()

{base}

conditionally set values

cut_width()

{ggplot2}

cut data into groups of a particular width

case_when()

{dplyr}

conditionally set values across multiple conditions

cut_number()

{ggplot2}

cut data into groups of equal numbers of observations

reorder()

{stats}

reorder factor levels based on another variable

The end!