GSS <-
mutate(`General happiness`=recode(`General happiness`,
'Very happy' = 'Yeshappy'
'Pretty happy' = 'Yeshappy'
'Not too happy' = 'Nohappy'))
It keeps on coming up with errors, but I am trying to mutate the variable of Gen Happiness to three separate variables for very happy, pretty happy, and not too happy, and then categorize those into yeshappy and nohappy so I can graph them into two bars for comparison.