[R] multiple lattice-pages (development package!)...
Peter Malewski
peter.malewski at gmx.de
Fri Jun 1 16:45:28 CEST 2001
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)
}
O.k. if I write a wrapper-function this would not look so chaotic.
Thanks for your answer
Peter
--
P.Malewski, Limmerstr.47, 30451 Hannover, 0511-2135008
At work: http://www.MH-Hannover.de 0511 532 3194 / Fax: 0511 532 3190,
P.Malewski at tu-bs.de, peter.malewski at gmx.de, malewski.peter at mh-hannover.de.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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