Skip to content
Prev 19271 / 63424 Next

Mosaicplot coloring (PR#8537)

On Sun, 29 Jan 2006 greg.kochanski at phon.ox.ac.uk wrote:

            
Where is the bug?? Please read Section 9 in
  http://CRAN.R-project.org/doc/manuals/R-FAQ.html
and also the posting guide at
  http://www.R-project.org/posting-guide.html
Note that with this shading you are using colored cells and statistically
significant results might not coincide.
For an enhanced implementation of mosaic plots written in the grid
graphics system, see the package "vcd" and the functions mosaic() and
strucplot(). See the package vignettes for details on control of the
graphical appearance and also for combining shading and significance
testing. To overcome the problem of small cells, another approach is to
plot expected instead of observed frequencies.
Z