Tag: how to create a new column in R with condition