Displaying 1 result from an estimated 1 matches for "coversag".
Did you mean:
coversage
2004 May 29
3
panel function in a conditioned lattice graphic
...m my dataset in a conditioned lattice graphic (R 1.9.0 on Mac OS
10.3.3). The data I'm using is the dataframe "dryoutcover" which is
here (4k):
http://anthony.darrouzet-nardi.net/downloads/dryoutcover.Rdata
The code that generates my graphic almost correctly is as follows:
xyplot(coversage ~ dryout | year,
data=dryoutcover,
panel = function(x,y) {
panel.lmline(x,y)
one <- dryoutcover$block==1
two <- dryoutcover$block==2
thr <- dryoutcover$block==3
fou <- dryoutcover$block==4
fiv <- dryoutcover$block==5
six <- dryoutcover$block==6
grid.points(x[one...