[R] How to (simply) add table-values to a mosaicplot ?

Dieter Menne dieter.menne at menne-biomed.de
Fri Oct 24 08:20:43 CEST 2008


Tal Galili <tal.galili <at> gmail.com> writes:

> I am looking for a way to add table values (from a "table" object) into a
> mosaic plot of that table (which is produced by the "mosaicplot" command on
> the table object).

(nice self-running example removed)

I suggest that you switch to package vcd and function mosaic. I has a MUCH
larger set of features, and provides labeling_cboxed(...) to do exactly what you
want.

Dieter



More information about the R-help mailing list