Skip to content
Prev 172580 / 398525 Next

adding value labels on Interaction Plot

See if this helps. After your code, submit this to R:

with(d, text(xx[xx==3],zz[xx==3],paste("3, ",zz[xx==3])))

After that has convinced you that xx and zz are being used properly,   
you can try the more general approach:

with(d, text(xx,zz,paste(xx, " , ", zz)))

I would have used ZZ rather than "Y Label" on the y axis, because yy  
is being used as a grouping parameter and the plotted value is really zz