scale_color_manual() not working

As per the commenter above, I need to map color to a variable, the following works

ggplot(df, aes(x=cond, y=yval, color = cond)) + geom_point() + 
    scale_color_manual(values=c("red", "blue", "green"))

Leave a Comment

tech