[R] Mosaic Plots
Petr PIKAL
petr.pikal at precheza.cz
Thu Mar 25 14:52:22 CET 2010
Hi
There is also mosaicplot in base graphics
?mosaicplot
Petr
r-help-bounces at r-project.org napsal dne 22.03.2010 14:16:58:
> Hi,
>
> maybe vcd package is what you are looking for.
> Example from vcd library
>
> library(vcd)
> ?mosaic
>
> data("Titanic")
> mosaic(Titanic)
> ## Formula interface for tabulated data plus shading and legend:
> mosaic(~ Sex + Age + Survived, data = Titanic,
> main = "Survival on the Titanic", shade = TRUE, legend = TRUE)
>
>
> Eugen Pircalabelu
> (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
>
>
> Hello Everyone
>
> 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
> Plots
>
>
> Thank you in advance
> Sunita
> --
> 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
> 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.
>
> ______________________________________________
> 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.
More information about the R-help
mailing list