0
employees <- as_tibble(employeedata)
any(is.na(employees))
employeesA <- employees %>%
  select('First name','Last name','Gender',everything()) %>%
  filter(Salary > 70000)  %>%
  arrange(Gender,'Last name')
employeesA

Newbie here - I think this should be arranging by gender and then, within gender, by last name in ascending order, but it doesn't seem to be doing anything to the order of the last names at all. Advice appreciated! Thanks :) enter image description here

Rachel
  • 21
  • 2

0 Answers0