[R] plot(augPred) and abline help

From: Petr Pikal <petr.pikal_at_precheza.cz>
Date: Thu 31 Aug 2006 - 20:49:33 EST

Dear all

I try to add a line, (vertical in my case) but at present time I am only partially successful.

fm1 <- lme(Orthodont)

# standard plot
plot(augPred(fm1, level = 0:1, length.out = 2))

#plot with vertical but without points and fitted lines plot(augPred(fm1, level = 0:1, length.out = 2), panel=function(v,...) {

# plot with vertical but without fitted lines

plot(augPred(fm1, level = 0:1, length.out=2),
panel=function(x,y,...) {


# plot with vertical and with all points (fitted lines are drawn as points)

plot(augPred(fm1, level = 0:1),
panel=function(x,y,...) {


I am probably somewhere close but I have no clue, which parameter I shall modify to get measured points, fitted lines and vertical lines in panels together.

Please help

Thank you
Best regards.

Petr Pikal

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu Aug 31 20:54:20 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 31 Aug 2006 - 22:28:34 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.