Session Ready
Exercise

Logical operator

Instructions
100 XP

We are again working with the characters abbs <- c("MA", "ME", "MI", "MO", "MU")

  • In a previous exercise we computed the index abbs%in%murders$abb. Based on that, and using the which function and the ! operator, get the index of the entries of abbs that are not abbreviations.
  • Show the entries of abbs that are not actual abbreviations.