mosaicplot() update
On Mon, 7 Nov 2005 16:43:08 +0000 (GMT) Prof Brian Ripley wrote:
Jay, Having your code change to know exactly what you are suggesting would be helpful.
Depending on what exactly you want, you could do e.g. mosaic(HairEyeColor, labeling = NULL) which prints no labels at all. If you only want to suppress names(dimnames(HairEyeColor)) you could do mosaic(HairEyeColor, labeling_args = list(varnames = FALSE)) etc.
There is an enhanced version of mosaicplot called mosaic in package vcd, and you might like to talk to its maintainers (if the facility is not already there, as at a quick glance it seemed not to be).
The user can change everything (well, almost)! Unfortunately, this flexibility means that most options will not be obvious `at a quick glance'. David (as the main author) knows most options, even I (as a co-author) had to look up how the above works. But now there are at least some vignettes which explain the many knobs and switches in mosaic(). Z
Brian On Mon, 7 Nov 2005, John W Emerson wrote:
Hi -- I've found a need for an additional option to mosaicplot(), to suppress the labels. It's not difficult, obviously, a minor thing. Would you like me to submit my revised code (I'll use your code rather than my original source code which was adapted for S-Plus and R)? Or it might be a 5-minute change for the appropriate person. No problem either way, just let me know. Cheers, Jay John Emerson Assistant Professor of Statistics Yale University
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel