ifelse statement with multiple conditions
I am familiar with writing ifelse() statements and they are very useful, but when they have multiple conditions they appear to be very inefficient. I am curious if there is a more efficient way to write them. For example, if I had the following dataframe test <- data.frame(col = c(“a”, “b”, “c”, “d”, “e”)) test$col … Read more