R version 2.15.2 (2012-10-26) -- "Trick or Treat" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i686-pc-linux-gnu (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > x <- array(list(1.0137 + ,0.9383 + ,0.8833 + ,1.0622 + ,1.2613 + ,1.3119 + ,1.2103 + ,1.2999 + ,1.4718 + ,1.3239 + ,1.4272 + ,1.3360 + ,1.2905 + ,0.9834 + ,0.9217 + ,0.8700 + ,1.0773 + ,1.2646 + ,1.3014 + ,1.1938 + ,1.3074 + ,1.4748 + ,1.2785 + ,1.3686 + ,1.3649 + ,1.3224 + ,0.9643 + ,0.9095 + ,0.8758 + ,1.0807 + ,1.2262 + ,1.3201 + ,1.2020 + ,1.3242 + ,1.5527 + ,1.3050 + ,1.3569 + ,1.3999 + ,1.3201 + ,0.9470 + ,0.8920 + ,0.8858 + ,1.0848 + ,1.1985 + ,1.2938 + ,1.2271 + ,1.3516 + ,1.5750 + ,1.3190 + ,1.3406 + ,1.4442 + ,1.3162 + ,0.9060 + ,0.8742 + ,0.9170 + ,1.1582 + ,1.2007 + ,1.2694 + ,1.2770 + ,1.3511 + ,1.5557 + ,1.3650 + ,1.2565 + ,1.4349 + ,1.2789 + ,0.9492 + ,0.8532 + ,0.9554 + ,1.1663 + ,1.2138 + ,1.2165 + ,1.2650 + ,1.3419 + ,1.5553 + ,1.4016 + ,1.2208 + ,1.4388 + ,1.2526 + ,0.9397 + ,0.8607 + ,0.9922 + ,1.1372 + ,1.2266 + ,1.2037 + ,1.2684 + ,1.3716 + ,1.5770 + ,1.4088 + ,1.2770 + ,1.4264 + ,1.2288 + ,0.9041 + ,0.9005 + ,0.9778 + ,1.1139 + ,1.2176 + ,1.2292 + ,1.2811 + ,1.3622 + ,1.4975 + ,1.4268 + ,1.2894 + ,1.4343 + ,1.2400 + ,0.8721 + ,0.9111 + ,0.9808 + ,1.1222 + ,1.2218 + ,1.2256 + ,1.2727 + ,1.3896 + ,1.4369 + ,1.4562 + ,1.3067 + ,1.3770 + ,1.2856 + ,0.8552 + ,0.9059 + ,0.9811 + ,1.1692 + ,1.2490 + ,1.2015 + ,1.2611 + ,1.4227 + ,1.3322 + ,1.4816 + ,1.3898 + ,1.3706 + ,1.2974 + ,0.8564 + ,0.8883 + ,1.0014 + ,1.1702 + ,1.2991 + ,1.1786 + ,1.2881 + ,1.4684 + ,1.2732 + ,1.4914 + ,1.3661 + ,1.3556 + ,1.2828 + ,0.8973 + ,0.8924 + ,1.0183 + ,1.2286 + ,1.3408 + ,1.1856 + ,1.3213 + ,1.4570 + ,1.3449 + ,1.4614 + ,1.3220 + ,1.3179) + ,dim=c(13 + ,12) + ,dimnames=list(c('2000' + ,'2001' + ,'2002' + ,'2003' + ,'2004' + ,'2005' + ,'2006' + ,'2007' + ,'2008' + ,'2009' + ,'2010' + ,'2011' + ,'2012') + ,1:12)) > y <- array(NA,dim=c(13,12),dimnames=list(c('2000','2001','2002','2003','2004','2005','2006','2007','2008','2009','2010','2011','2012'),1:12)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par1 = 'grey' > ylab = 'value' > xlab = 'variables' > main = 'Notched Boxplots' > z <- as.data.frame(t(y)) > postscript(file="/var/wessaorg/rcomp/tmp/1bhw81354638432.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > (r<-boxplot(z ,xlab=xlab,ylab=ylab,main=main,notch=TRUE,col=par1)) $stats [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [1,] 0.85520 0.85320 0.87000 1.06220 1.19850 1.1786 1.19380 1.29990 1.27320 [2,] 0.88470 0.88125 0.88455 1.08275 1.21570 1.2026 1.21870 1.33305 1.39090 [3,] 0.92285 0.89645 0.96660 1.12970 1.22640 1.2274 1.26670 1.35690 1.48615 [4,] 0.95675 0.91030 0.98665 1.16775 1.26295 1.2976 1.27905 1.40615 1.55550 [5,] 1.01370 0.93830 1.01830 1.22860 1.29910 1.3201 1.32130 1.46840 1.57700 [,10] [,11] [,12] [,13] [1,] 1.27850 1.22080 1.31790 1.2288 [2,] 1.32145 1.28320 1.36025 1.2463 [3,] 1.40520 1.33130 1.38845 1.2842 [4,] 1.45880 1.36735 1.43460 1.3068 [5,] 1.49140 1.42720 1.44420 1.3224 $n [1] 12 12 12 12 12 12 12 12 12 12 12 12 12 $conf [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,] 0.8899875 0.8832001 0.9200315 1.090931 1.204849 1.18407 1.239174 1.323559 [2,] 0.9557125 0.9096999 1.0131685 1.168469 1.247951 1.27073 1.294226 1.390241 [,9] [,10] [,11] [,12] [,13] [1,] 1.411075 1.342554 1.292919 1.354538 1.256606 [2,] 1.561225 1.467846 1.369681 1.422362 1.311794 $out [1] 1.3408 1.0137 $group [1] 5 13 $names [1] "2000" "2001" "2002" "2003" "2004" "2005" "2006" "2007" "2008" "2009" [11] "2010" "2011" "2012" Warning message: In bxp(list(stats = c(0.8552, 0.8847, 0.92285, 0.95675, 1.0137, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > > #Note: the /var/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/wessaorg/rcomp/createtable") > > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,hyperlink('http://www.xycoon.com/overview.htm','Boxplot statistics','Boxplot overview'),6,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Variable',1,TRUE) > a<-table.element(a,hyperlink('http://www.xycoon.com/lower_whisker.htm','lower whisker','definition of lower whisker'),1,TRUE) > a<-table.element(a,hyperlink('http://www.xycoon.com/lower_hinge.htm','lower hinge','definition of lower hinge'),1,TRUE) > a<-table.element(a,hyperlink('http://www.xycoon.com/central_tendency.htm','median','definitions about measures of central tendency'),1,TRUE) > a<-table.element(a,hyperlink('http://www.xycoon.com/upper_hinge.htm','upper hinge','definition of upper hinge'),1,TRUE) > a<-table.element(a,hyperlink('http://www.xycoon.com/upper_whisker.htm','upper whisker','definition of upper whisker'),1,TRUE) > a<-table.row.end(a) > for (i in 1:length(y[,1])) + { + a<-table.row.start(a) + a<-table.element(a,dimnames(t(x))[[2]][i],1,TRUE) + for (j in 1:5) + { + a<-table.element(a,r$stats[j,i]) + } + a<-table.row.end(a) + } > a<-table.end(a) > table.save(a,file="/var/wessaorg/rcomp/tmp/2ftcq1354638432.tab") > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,'Boxplot Notches',4,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Variable',1,TRUE) > a<-table.element(a,'lower bound',1,TRUE) > a<-table.element(a,'median',1,TRUE) > a<-table.element(a,'upper bound',1,TRUE) > a<-table.row.end(a) > for (i in 1:length(y[,1])) + { + a<-table.row.start(a) + a<-table.element(a,dimnames(t(x))[[2]][i],1,TRUE) + a<-table.element(a,r$conf[1,i]) + a<-table.element(a,r$stats[3,i]) + a<-table.element(a,r$conf[2,i]) + a<-table.row.end(a) + } > a<-table.end(a) > table.save(a,file="/var/wessaorg/rcomp/tmp/3znbn1354638432.tab") > > try(system("convert tmp/1bhw81354638432.ps tmp/1bhw81354638432.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.851 0.149 0.997