I've seen some questions asking how to compare values between two columns in R, but I haven't been able to figure out how to use two columns to conditionally edit the rest of the row. I'm basically trying to apply a different range to each row. I've seen some questions asking how to compare