From Torsten.Hothorn at rzmail.uni-erlangen.de  Tue Nov  8 09:22:03 2005
From: Torsten.Hothorn at rzmail.uni-erlangen.de (Torsten Hothorn)
Date: Tue, 8 Nov 2005 09:22:03 +0100 (CET)
Subject: [Rd] mosaicplot() update and clarification
In-Reply-To: <Pine.LNX.4.44.0511071750030.10318-100000@ajax.its.yale.edu>
References: <Pine.LNX.4.44.0511071750030.10318-100000@ajax.its.yale.edu>
Message-ID: <Pine.LNX.4.51.0511080917010.18360@artemis.imbe.med.uni-erlangen.de>


>
> 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 "KH") appears to have been included in a package
> called "vcd" at some point in time.  This was one of the
> first hits when I used googled "vcd".  See, for example:
>
> http://www.maths.lth.se/help/R/.R/library/vcd/html/mosaicplot.html
>
> 2. Once I load library(vcd) and do ?mosaicplot, the top of the
> help page does, in fact, say "package:vcd" although it credits me
> as the author?!  This was downloaded today from CRAN.  This most
> certainly is not my fault, nor do I want to take credit for
> something that isn't mine.  If {vcd} uses R:base's mosaicplot(),
> then, of course, everything is fine, but I gather from your email
> that this is not the case. So perhaps the {vcd} package needs to
> update its documentation.  If I am misunderstanding something,
> again, I apologize.

`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' package masking
`graphics::mosaicplot: `update.packages("vcd")' will update the package
and documentation on your system :-)

Best,

Torsten

>
> Anyway, the more interested people we have improving
> our graphics tools, the better!  !_)
>
> Cheers,
>
> Jay
>
>
> On Mon, 7 Nov 2005, Achim Zeileis wrote:
>
> > 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, everything written from scratch using Paul's wonderful grid
> > graphics. The internals look completely different and David's
> > implementation provides not only mosaic plots but also association and
> > sieve plots within the same framework.
> >
> > > Always nice to get the citation!
> >
> > ...give credit where credit is due...:-)
> > Best,
> > Z
> >
> > > Jay
> > >
> > >
> > > On Mon, 7 Nov 2005, Prof Brian Ripley wrote:
> > >
> > > > 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
> > > >
> > > > 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
> > >
> >
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



[Rd] mosaicplot() update and clarification
Torsten Hothorn