R4DS Ch. 12

ggplot()

{ggplot2}

create a plotting area

str_replace()

{stringr}

replace first matched pattern in a string

complete()

{tidyr}

complete a data frame with missing combinations of data

count()

{dplyr}

count unique values of variables

pivot_wider()

{tidyr}

pivot data frame to be wider

separate()

{tidyr}

split single column into multiple columns

pivot_longer()

{tidyr}

pivot data frame to be longer

mutate()

{dplyr}

create or modify data columns

select()

{dplyr}

keep specified columns

aes()

{ggplot2}

create aesthetic mappings between data and plot

unite()

{tidyr}

combine multiple columns into single column

fill()

{tidyr}

fill in missing values

c()

{base}

create vector of numbers, characters, etc.

geom_line()

{ggplot2}

add layer of data lines to plot

tibble()

{tibble}

create tibble

geom_point()

{ggplot2}

add layer of points to plot

tribble()

{tibble}

create row-wise tibble

The end!