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

Reply via email to