I am figuring out if I can group_by logical statements in R rather than by category. Here is my code:
train3 <- read.csv(urldata) %>% group_by(INCOME,GENH