dplyr basics: General structure

When using dplyr:

  • 1st arg is always a data frame.
  • Subsequent args typically = columns to operate on, as variable names (without quotes).
  • Output is always a new data frame.