[Rd] Lattice: panel.superpose function does not pass subscripts and groups arguments (PR#2377)

deepayan@stat.wisc.edu deepayan@stat.wisc.edu
Wed Dec 18 23:35:02 2002


I've added this in the development version.
-Deepayan

On Monday 16 December 2002 07:32 am, volker.franz@tuebingen.mpg.de wrote:
> Full_Name: Volker Franz
> Version: 1.5.1
> OS: Debian-Linux
> Submission from: (NULL) (134.176.77.64)
>
>
> Hi,
>
> working with the panel.superpose function, I found out that this
> function does not pass the subscripts and groups arguments to
> panel.groups functions.
>
> In my view, this seems an unnecessary restriction, because the
> subscripts-mechanism which allows to access the original data should
> also work if we use the panel.superpose function. (see, "A Tour of
> Trellis Graphics": "the subscripts argument is a numeric vector that
> tells which observation in the original data is associated with the x-
> and y- values"; section 3.2).
>
> The following patch is for the panel.superpose function of the lattice
> library.  It ensures that the subscripts and the groups arguments are
> passed correctly to panel.groups functions.
>
> For illustration, I append an example which only works with the
> patch...
>
> Best
> Volker
[...]