Why does this happen?
plot(x,y) yx.lm <- lm(y ~ x) lines(x, predict(yx.lm), col=\"red\")
Error in plot.xy(xy.coords
plot.xy(xy.coords
If someone is using print function (for example, with mtext), then firstly depict a null plot:
print
plot(0,type='n',axes=FALSE,ann=FALSE)
and then print with newpage = F
newpage = F
print(data, newpage = F)