[R] panel function question

From: Weidong Gu <wgu_at_uab.edu>
Date: Thu, 27 Mar 2008 16:40:00 -0500

I have two data sets with locations, X, Y of houses (df.house) and habitats(df.habitat), respectively. In each dataset, there are 3 replicates (Repeat). Because each replicate has different locations of houses and habitats, I would like to plot them in panels. I wrote something like this:  



panel.xyplot( df.habitat$X[subscripts], df.habitat$Y[subscripts], pch=3)


with(df.house, xyplot(X~Y|Repeat, panel=mypanel, subscripts=T))  

But the problem is that all habitats from 3 replicates are ended in one panel.  

Any help would be appreciated.  

Weidong Gu

Department of Medicine
University of Alabama, Birmingham
1900 University Blvd., Birmingham, Alabama 35294  

        [[alternative HTML version deleted]]

R-help_at_r-project.org 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 27 Mar 2008 - 21:42:31 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 28 Mar 2008 - 22:30:25 GMT.

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

list of date sections of archive