[R] levelplot behaviour for panel with constants

Edzer J. Pebesma e.pebesma at geog.uu.nl
Thu Aug 21 14:42:01 CEST 2003

In the example:

x = rep(c(0,0,1,1),4)
y = rep(c(0,1,0,1),4)
z = c(1,0,1,0,0,0,1,1,0,1,0,0,1,1,1,1)
f = as.factor(c(rep("a",4),rep("b",4),rep("c",4),rep("d",4)))

I noted that the last ("d") plot remains empty. I guess the
reason for this is that the values are constant (1), but I consider
it more consistent if they would get the colour of 1, and would
be left blank in case they were NA's.

More information about the R-help mailing list