Skip to content
Prev 105653 / 398503 Next

Trellis Plot Labels

On 12/6/06, Turgut Durduran <durduran at yahoo.com> wrote:
In this case, the plot will have one panel for every combination of
non-empty levels of Day, Inf and ID (not every non-empty combination
of levels). In your case, if you have a nested structure where the
levels of Inf and ID don't mean anything individually. You should be
using an interaction, e.g.

xyplot(CBF~OB|Day:Inf:ID,data=na.omit(mydatausegroup))

To xyplot, the difference is that there is now one conditioning
variable rather than 3, and it will omit any empty levels.

-Deepayan