[Rd] plot.lm (PR#9474)

From: <kushler_at_oakland.edu>
Date: Sun 28 Jan 2007 - 05:07:02 GMT

Full_Name: Robert Kushler
Version: 2.4.1
OS: Windows XP
Submission from: (NULL) (

In the constant leverage case, plot #5 is not correctly produced. The labels on the x-axis are sorted correctly by magnitude of the fitted value, but the data are plotted in the original factor order.

I changed

                facval[ord] <- facval
                xx <- facval
                plot(facval, rs, xlim = c(-1/2, sum((nlev - 1) * 

             #  facval[ord] <- facval
                xx <- facval[ord]
                plot(xx, rs, xlim = c(-1/2, sum((nlev - 1) * 

in the "if (isConst.hat)" section of "show[5]". The data then plotted correctly but the extreme point labels did not move. I'm not up to the task of figuring out how to fix the labels, and there might be other side effects of the change I made. In any case, something needs to be done.

Thanks for your attention (and thanks for a wonderful software system).

Regards, Rob Kushler

R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon Jan 29 22:10:12 2007

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 Mon 29 Jan 2007 - 11:31:33 GMT.

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