I'm using mutate and ifelse in r to create a new column. It's working, but was wondering if there's a simpler way of writing the "ors" here?
ifelse(school == 13 | school == 14 | school == 15, "private","public")
I'm using mutate and ifelse in r to create a new column. It's working, but was wondering if there's a simpler way of writing the "ors" here?
ifelse(school == 13 | school == 14 | school == 15, "private","public")