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

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jun 1 16:49:50 CEST 2001


On Fri, 1 Jun 2001, Peter Malewski wrote:

> On Fri, Jun 01, 2001 at 03:16:24PM +0100, Prof Brian D Prof Brian D Ripley wrote:
> > > postscript pages). If this isn't possible I'll do the old trick
> > > with a for-loop...
> >
> > There is no way to do this in Trellis, at least.
>
> There is no way inside trellis, but outside:
>
>
> for(i in seq(1,length(unique(scl.unter$id)),by=12)){
>   tmp <- unique(scl.unter$id)[i:(i+11)]
>   print.trellis(xyplot(data~Time|Id,
>                        subset=id%in%tmp,
>                        data=scl.unter,xlab="Time",ylab="Freq",
>                        as.table=T,layout=c(4,3)
>                        )
>                 )
>   dev.print(jpeg,paste("c:/temp/tmp",i,".jpg",sep=""),width=1000,height=1000)
> }

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).

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

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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