purrr pmap to read max column name by column name number
问题 I have this dataset: library(dpylr) Problem<- tibble(name = c("Angela", "Claire", "Justin", "Bob", "Gil"), status_1 = c("Registered", "No Action", "Completed", "Denied", "No Action"), status_2 = c("Withdrawn", "No Action", "Registered", "No Action", "Exempt"), status_3 = c("No Action", "Registered", "Withdrawn", "No Action", "No Action")) I want to make a column that has everyone's current status. If the person has ever completed the course, they are completed. If they were ever exempt, they