[R] Mosaic Plots
eugen_pircalabelu at yahoo.com
Mon Mar 22 14:16:58 CET 2010
maybe vcd package is what you are looking for.
Example from vcd library
## Formula interface for tabulated data plus shading and legend:
mosaic(~ Sex + Age + Survived, data = Titanic,
main = "Survival on the Titanic", shade = TRUE, legend = TRUE)
(0032)471 842 140
(0040)727 839 293
----- Original Message ----
From: Sunitap22 <sunitap22 at gmail.com>
To: r-help at r-project.org
Sent: Mon, March 22, 2010 12:21:14 PM
Subject: [R] Mosaic Plots
I want to plot Moasic Plots, I have tried them using iplots package (using
imosaic). The problem is the names dont get alligned properly, is there a
way to a align the names and provide legend in Mosaic plots using R?
Also I would like to know any other packages using which I can plot Mosaic
Thank you in advance
View this message in context: http://n4.nabble.com/Mosaic-Plots-tp1677468p1677468.html
Sent from the R help mailing list archive at Nabble.com.
R-help at r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help