R4DS-2e Ch. 03

geom_point()

{ggplot2}

add layer of points to plot

rename()

{dplyr}

rename columns

geom_smooth()

{ggplot2}

create smoothed lines to plot

filter()

{dplyr}

keep rows based on values of columns

month()

{lubridate}

return or set month component of a date-time

distinct()

{dplyr}

select only unique/distinct rows from data frame

summarize()

{dplyr}

summarize data usually by grouping variable

count()

{dplyr}

count unique values of variables

relocate()

{dplyr}

change column order

c()

{base}

create vector of numbers, characters, etc.

aes()

{ggplot2}

create aesthetic mappings between data and plot

year()

{lubridate}

return or set year component of a date-time

select()

{dplyr}

keep specified columns

ggplot()

{ggplot2}

create a plotting area

library()

{base}

load R packages

desc()

{dplyr}

order in descending order

day()

{lubridate}

get days component of date-time

sum()

{base}

sum elements of vector

is.character()

{base}

determine if input is of type character

arrange()

{dplyr}

change order of rows based on values of columns

mutate()

{dplyr}

create or modify data columns

ungroup()

{dplyr}

remove grouping

tibble()

{tibble}

create tibble

group_by()

{dplyr}

group data by levels of column

mean()

{base}

calculate mean of elements of vector

starts_with()

{tidyselect}

match column names that begin with string

n()

{dplyr}

return current group size

The end!