R4DS Ch. 7

ifelse()

{base}

conditionally set values

reorder()

{stats}

reorder factor levels based on another variable

cut_number()

{ggplot2}

cut data into groups of equal numbers of observations

case_when()

{dplyr}

conditionally set values across multiple conditions

cut_width()

{ggplot2}

cut data into groups of a particular width

The end!