https://stackoverflow.com/questions/30218937/testing-whether-a-value-matches-a-list-of-values
condition <- df$col1 %in% c("Bob" , "Tom" , "Dick" , "Harry") df$col2[condition] <- "Boy's name" # if there's a match fill using X