Skip to content
Prev 95553 / 398500 Next

coloring individual points in lattice xyplot

On 7/5/06, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
I meant your version. You need the [subscripts] part, which your
version didn't have (mine did). This is because unlike the 'x' and 'y'
variables, 'groups' doesn't get subsetted before being passed on to
the panel function. In fact, apart from the fact that it is evaluated
in 'data', 'groups' is in principle just like any other `non-standard'
argument, in that it gets passed on to the panel function unchanged.

-Deepayan