[Rd] Mosaicplot coloring (PR#8537)

From: <greg.kochanski_at_phon.ox.ac.uk>
Date: Sun 29 Jan 2006 - 18:30:11 GMT

Full_Name: Greg Kochanski
Version: 2.2.1
OS: Debian Linux (testing)
Submission from: (NULL) (

mosaicplot(x, shade=TRUE) is intended to color the blocks blue if they are more common than one might expect and red if they are rarer than one might expect.

Unfortunately, if a block is much rarer than expected, it is so narrow that one cannot see the red. Thus, a casual inspection of the mosaicplot will miss some of the most statistically significant results.

This is partially an intrinsic problem and cannot be entirely fixed, but it is made worse by the black outlines around each block. Blocks with very small probabilities show as black, not red. The broken outlines on the red blocks help, but not quite enough.

I would suggest that there be an option to either turn off the black outlines when for the colored blocks, or an option to use colored outlines.

If those options are somehow hidden in the ... part of the argument list for mosaicplot(), I apologize, but then this bug report should be converted to a documentation bug. Nowhere in help(mosaicplot) does it say what one can put into the unspecified arguments (...).

R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon Jan 30 05:40:04 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:40 GMT