Reputation: 13
I have found an interaction effect between the predictors age and education level in a multiple regression model assessing the effects of various predictors on alcohol consumption. I wish to graph this interaction effect using ggplot, but an alternative will do.
I have attempted to do it this way:
p <- ggplot(DataFrame, aes(ED,AGE, label=interaction-effect))
p <- p + geom_point(colour= "red")+geom_text(size=3) # colour = colr does not work
p
This is continuously spouting errors. I cannot seem to find a way to simply make this plot and would greatly appreciate help.
Upvotes: 1
Views: 9064