Exercise

select

With dplyr we can use select to show only certain columns. For example with this code we would only show the states and population sizes:

select(murders, state, population)

Instructions

100 XP
  • Use select to show the state names and abbreviations in murders. Just show it, do not define a new object.