Prerequisites

  • dplyr 📦 = functions to manipulate data frames.
  • data frames consist of columns (variables) and rows (observations).
  • dplyr is part of the tidyverse.
install.packages("tidyverse")
library(tidyverse)

Or just dplyr

install.packages("dplyr")
library(dplyr)