Skip to content
Prev 347907 / 398500 Next

how to draw paired mosaic plot?

Hi meng,
It's not too hard to get a mosaic plot of two character variables:

x<-sample(LETTERS[1:3],20,TRUE)
y<-sample(LETTERS[24:26],20,TRUE)
mosaicplot(table(x,y))

If you could tell us how the above is not what you want, perhaps a
better suggestion will appear.

Jim
On Sat, Feb 7, 2015 at 6:29 PM, meng <laomeng_3 at 163.com> wrote: