Re: [R] plot.augPred sorted and labelled according second factor

From: Spencer Graves <spencer.graves_at_pdf.com>
Date: Mon 10 Oct 2005 - 11:09:31 EST

Hi, Christoph:

          Have you received a satisfactory reply to this? If no, you might wish to consider the following; with a few more hours, I could probably produce what you seem to be asking. If you try something further, please ping the authors and maintainers for augPred and xyplot (whom I have cc'ed on this).

          From methods(class="augPred"), I learned that there was a nonvisible function "plot.augPred". From getAnywhere("plot.augPred"), I could see the definition of that function. It basically consisted of a call the "xyplot", which I tried to modify to produce what you seemed to be requesting.

          Your request seems reasonably clear and concise, and it should have (I think) a relatively simple solution, but I can't find it at the moment.

	  Good Luck,
	  spencer graves

Christoph Lehmann wrote:

> Hi
>
> using this code example:
>
> library(nlme)
> fm1 <- lme(Orthodont, random = ~1)
> plot(augPred(fm1))
>
> is there any way to have the plots in each cell labelled and ordered
> according to Orthodont$Sex? I.e. in addition to the bar with the label for
> Orthodont$Subject there is another bar labelling the Sex of the subject?
>
> thanks a lot
>
> christoph
>
> --
>
> ______________________________________________
> 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

-- 
Spencer Graves, PhD
Senior Development Engineer
PDF Solutions, Inc.
333 West San Carlos Street Suite 700
San Jose, CA 95110, USA

spencer.graves@pdf.com
www.pdf.com <http://www.pdf.com>
Tel:  408-938-4420
Fax: 408-280-7915

______________________________________________
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
Received on Mon Oct 17 06:24:31 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:56:30 EST