Re: [R] Help with adding points to allEffects plot

2010-03-09 Thread Peter Ehlers
As you can see on ?effects help page, plot.eff() uses lattice graphics. You can't mix those with traditional graphics commands. This should work: plot(allEffects(GSMOD), ask=FALSE) trellis.focus("panel", 1, 1) panel.points(y, x) trellis.unfocus() -Peter Ehlers On 2010-03-09 9:37, Grant G

[R] Help with adding points to allEffects plot

2010-03-09 Thread Grant Gillis
Thanks in advance for any help. I am attempting to add points to a plot using the allEffects command in the effects package. When I try to add the points I get the following error message: Error in plot.xy(xy.coords(x, y), type = type, ...) : plot.new has not been called yet Strangely, using