[R] multiple lattice-pages (development package!)...

John Maindonald john.maindonald at anu.edu.au
Sat Jun 2 01:34:24 CEST 2001


Pter Malewski wrote 

> On Fri, Jun 01, 2001 at 03:49:50PM +0100, Prof Brian D Prof Brian D
  Ripley wrote:

> > That is *not* the same thing.  It replaces one Trellis plot by a series
> > of plots, and loses some of the overall calculations (for example of
> > common scales).

> Oh I haven't metioned that! In my case there is no much harm because
> the plots that I'm currently making runs with
> scales=list(relation="free")...

> > BTW: when I said Trellis, I meant the original not lattice.  > >

> Is there a principal difference between lattice ans trellis except
> that the grid functions are so diffend an thus the panel-functions?

>From my brief look atthe lattice and grid libraries, it is
remarkable is how similar lattice() is to trellis() its
functions, while being very dissimilar underneath, mainly at
the level of the functions in the grid library.  This layering
means that user code that is written for trellis, and which
involves anything more than straightworward function calls, is
unlikely to carry directly across to lattice.  

There are however large benefits in the grid/lattice
separation of the code into layers.  The grid library can be a
basis for new graphics functions, or libraries, that greatly
extend lattice, or do quite different things from lattice.
The code in trellis is not layered in this way.  A consequence
is that it would be difficult and (perhaps even more
importantly) generate some pretty contorted code, if one were
to write another graphics library on top of trellis.  Paul
Murrell will probably think this so obvious that it is hardly
worth saying, but maybe it needs to be said.

John Maindonald               email : john.maindonald at anu.edu.au        
Statistical Consulting Unit,  phone : (6125)3998        
c/o CMA, SMS,                 fax   : (6125)5549  
John Dedman Mathematical Sciences Building
Australian National University
Canberra ACT 0200
Australia
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list