Ah ok. One possibility is:
ggplot(subset, aes(x=unitX,y=unitY)) +
geom_tile(aes(fill=umatrix)) +
geom_tile(aes(width = 1, height = 1), data = subset(subset,
missing), fill = "red") +
scale_fill_gradient(low="white",high="black") +
opts(aspect.ratio=3/4)
However there's currently no way to get that red colour into the
legend. You want a scale which is a combination of a continuous
colour gradient and a discrete colour (for missings) and there's no
built in scale that supports that.
Hadley
--
http://had.co.nz/