library(vcd)
data("Titanic")
mosaic(Titanic)
mosaic(~ Sex + Age + Survived, data = Titanic,main = "Survival on the
Titanic", shade = TRUE, legend = TRUE) ## mosaic one
data("HairEyeColor")

mosaic(HairEyeColor, shade = TRUE, expected = list(c(1,2), 3)) ## mosaic tow


I would like to put the two mosaic plots together, the first one at
the left and the second one at the right. How can I do this?
Thanks


-- 
Wincent Rong-gui HUANG
Doctoral Candidate
Dept of Public and Social Administration
City University of Hong Kong
http://asrr.r-forge.r-project.org/rghuang.html

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to