Skip to content
Prev 69044 / 398502 Next

Combining numeric vs numeric & numeric vs factor graphs into one ps/pdf file

Hi David

You probably want to write your own panel function and pass it into
xyplot(). Something like

mypanel <- function (x,y, groups, subscripts) {
  if (status[subscripts] == "pass") {
    panel.xyplot(H,CD)
  }
  else {
     panel.xyplot(site, CD)
  }
}

Check out the "groups" and "subscripts" arguments to xyplot.

cheers
Dave
On 03/05/05, Arenas, David R. CIV NAVAIR DEPT <david.arenas at navy.mil> wrote: