Skip to content
Back to formatted view

Raw Message

Message-ID: <D1947AA3-6297-4A41-B294-903A0FF802C3@comcast.net>
Date: 2014-08-27T06:10:23Z
From: David Winsemius
Subject: lattice: packet.number() versus panel.number()
In-Reply-To: <53FD096C.9070808@gmail.com>

On Aug 26, 2014, at 3:25 PM, Benjamin Tyner wrote:

> Hi,
> 
> According to
> https://svn.r-project.org/R-packages/trunk/lattice/R/print.trellis.R,
> 
>    "[panel.number] is usually the same as, but can be different from
> packet.number"
> 
> and I had been under the impression that as long as the user is not
> using a custom index.cond nor perm.cond, the panel.number would in fact
> be the same as the packet.number.
> 
> However, I have recently come across a case where the two are *not* the
> same, even though I am not using a custom index.cond nor perm.cond.
> 
> So my question is, what might be some other possible situations in which
> the two would be expected to differ?

The immediate hypothesis that leaps to mind is cases where there are multiple pages. On each page I suspect the upper left numbering restarts with 1, but I suspect the packet numbers are sequential increasing.

-- 

David Winsemius
Alameda, CA, USA