Hi
see from plot.boot help page
Side Effects
All screens are closed and cleared and a number of plots are produced on
the current graphics device. Screens are closed but not cleared at
termination of this function.
You need to change a behaviour of this function what shall not be simple.
Or maybe you can produce set of graphs in one pdf file or in several png
files and then to add them together by external means
Regards
Petr
r-help-bounces at r-project.org napsal dne 03.09.2008 12:03:03:
> Hi, R users
> I have a question with par(mfrow). I try to histograms and qqplots
> form boot output for 5 statistics but par(mfrow=c(5,2)) or
> par(mfrow=c(5,1)) does not work. R still display each figure
> separately. What did I do wrong? (I check ?par)
> > c1.boot<-boot(c1data,c1.fun,R=999)
> > c1.boot
>
> ORDINARY NONPARAMETRIC BOOTSTRAP
> Call:
> boot(data = c1data, statistic = c1.fun, R = 999)
>
> Bootstrap Statistics :
> original bias std. error
> t1* 0.30447696 0.0014228306 0.01026153
> t2* 0.05967183 -0.0014505285 0.01274977
> t3* 1.11852318 -0.0009339349 0.31586852
> t4* 4.12856813 -0.0310221125 0.39602210
> t5* -1.29958196 0.0222876889 0.67625299
>
> > par(mfrow=c(5,2))
> > for (i in 1:5) {plot(c1.boot, index=i, col=i)}
> Many Thanks
> Chunhao
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.