1

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.

Jota
  • 17,281
  • 7
  • 63
  • 93
user3217213
  • 13
  • 1
  • 5
  • 3
    I would provide some data, or use the mtcars dataset. For more info, take a look at this [question](http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example). The better the question is, the faster and more precise the answer will be. – marbel Jan 21 '14 at 03:55