[R] Levelplot + Mosaic Plot hybrid?

From: Kitty Lee <lee.kitty_at_yahoo.com>
Date: Mon, 17 Nov 2008 10:12:51 -0800 (PST)


Hi. I have built a levelplot with 3 variables, X, Y, and Z where X and Y are the two axes and Z represents the intensity (i.e. Z~X*Y).

Now I want to adjust the size of the grid (like a mosaic plot) where the size of each grid is weighted by a variable, W.

Just wonder how can I do that with levelplot?

I tried exploring mosaic plot. How can I manipulate the "col" option to make it represent my Z values?

Any help would be really appreciated. :-)

K.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 17 Nov 2008 - 18:16:52 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 18 Nov 2008 - 04:30:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive