Jan, 

libary(lattice)
rownames(zz) <- xx
colnames(zz) <- yy
levelplot(zz)

will not work -- levelplot needs a data frame with
zz, xx and yy values next to each other, so read
about data.frame(), rep() and as.vector(zz); you
will need the each= argument for one of xx or yy.

Sounds like you'd be helped by using package sp, 
see also http://r-spatial.sourceforge.net/ and look
for the graph gallery, function spplot.
--
Edzer

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to