Creating a col that adds a numeric value based on the order of a character string in R
I have responses where I solicited rankings of issues and the response I have for each individual look like this: structure(list(Rank = "Shifting angler preferences and behaviors;Increasing effort and fishing power;R3 (Recruitment, Retention, and Reactivation);Economic impacts;Climate change;"), row.names = c(NA, -1L), class = "data.frame") I am trying to create a column that gives the numeric… Read More Creating a col that adds a numeric value based on the order of a character string in R