Re: [Rd] mosaicplot() update and clarification

2005-11-08 Thread Achim Zeileis
Torsten, thanks for pointing this out. Jay, just to expand a little on this explanation: > `mosaicplot' is a function in package `graphics' (and lists you as the > author) and `mosaic' is a function in package `vcd'. There _was_ a > function `vcd::mosaicplot' in older versions of the `vcd' packa

Re: [Rd] mosaicplot() update and clarification

2005-11-08 Thread Torsten Hothorn
> > All, > > Again, my apologies for seeming to claim credit for > your other mosaic implementation. However, there are two > sources of this confusion, and I hope the following helps. > > 1. "my" implementation (e.g. the one originally written for > and included in S-Plus, then modified and impr

Re: [Rd] mosaicplot() update and clarification

2005-11-07 Thread John W Emerson
All, Again, my apologies for seeming to claim credit for your other mosaic implementation. However, there are two sources of this confusion, and I hope the following helps. 1. "my" implementation (e.g. the one originally written for and included in S-Plus, then modified and improved for R by "K

Re: [Rd] mosaicplot() update

2005-11-07 Thread John W Emerson
Thanks, obviously my mistake. The google search turned up my code with {vcd} after it, so there is at least one page out there where my version (mosaicplot) is listed incorrectly as being in {vcd}. Cheers! Jay On Mon, 7 Nov 2005, Achim Zeileis wrote: > Jay: > > > Thanks, I'll send the code

Re: [Rd] mosaicplot() update

2005-11-07 Thread Achim Zeileis
Jay: > Thanks, I'll send the code with the few changes marked > with something obvious like, > > # JWE changed previous line, > > etc... > > I wasn't aware of the {vcd} implementation. It looks like it > is built on my original S-Plus code, too. Nope, everythi

Re: [Rd] mosaicplot() update

2005-11-07 Thread Achim Zeileis
On Mon, 7 Nov 2005 16:43:08 + (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

Re: [Rd] mosaicplot() update

2005-11-07 Thread John W Emerson
Brian, Thanks, I'll send the code with the few changes marked with something obvious like, # JWE changed previous line, etc... I wasn't aware of the {vcd} implementation. It looks like it is built on my original S-Plus code, too. Always nice to get the citatio

Re: [Rd] mosaicplot() update

2005-11-07 Thread Prof Brian Ripley
Jay, Having your code change to know exactly what you are suggesting would be helpful. 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). Brian

[Rd] mosaicplot() update

2005-11-07 Thread John W Emerson
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-mi