R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-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(21 + ,NA + ,22 + ,NA + ,19 + ,NA + ,28 + ,NA + ,19 + ,NA + ,28 + ,NA + ,4 + ,NA + ,NA + ,23 + ,NA + ,22 + ,NA + ,18 + ,NA + ,25 + ,NA + ,20 + ,NA + ,26 + ,NA + ,4 + ,NA + ,22 + ,NA + ,16 + ,NA + ,12 + ,NA + ,21 + ,NA + ,15 + ,NA + ,22 + ,NA + ,5 + ,24 + ,NA + ,20 + ,NA + ,23 + ,NA + ,25 + ,NA + ,23 + ,NA + ,19 + ,NA + ,10 + ,NA + ,24 + ,NA + ,24 + ,NA + ,22 + ,NA + ,25 + ,NA + ,26 + ,NA + ,26 + ,NA + ,5 + ,NA + ,16 + ,NA + ,16 + ,NA + ,14 + ,NA + ,18 + ,NA + ,22 + ,NA + ,18 + ,NA + ,8 + ,NA + ,16 + ,NA + ,16 + ,NA + ,14 + ,NA + ,17 + ,NA + ,20 + ,NA + ,18 + ,NA + ,8 + ,NA + ,NA + ,21 + ,NA + ,22 + ,NA + ,16 + ,NA + ,26 + ,NA + ,24 + ,NA + ,25 + ,NA + ,5 + ,NA + ,26 + ,NA + ,24 + ,NA + ,23 + ,NA + ,28 + ,NA + ,26 + ,NA + ,27 + ,NA + ,4 + ,NA + ,15 + ,NA + ,16 + ,NA + ,7 + ,NA + ,21 + ,NA + ,21 + ,NA + ,12 + ,NA + ,4 + ,NA + ,25 + ,NA + ,27 + ,NA + ,10 + ,NA + ,27 + ,NA + ,25 + ,NA + ,15 + ,NA + ,4 + ,18 + ,NA + ,11 + ,NA + ,12 + ,NA + ,22 + ,NA + ,13 + ,NA + ,21 + ,NA + ,5 + ,NA + ,NA + ,NA + ,NA + ,NA + ,NA + ,NA + ,NA + ,NA + ,NA + ,NA + ,NA + ,NA + ,NA + ,NA + ,20 + ,NA + ,20 + ,NA + ,12 + ,NA + ,25 + ,NA + ,22 + ,NA + ,22 + ,NA + ,4 + ,NA + ,NA + ,17 + ,NA + ,20 + ,NA + ,17 + ,NA + ,22 + ,NA + ,23 + ,NA + ,21 + ,NA + ,8 + ,NA + ,25 + ,NA + ,27 + ,NA + ,21 + ,NA + ,23 + ,NA + ,28 + ,NA + ,24 + ,NA + ,4 + ,24 + ,NA + ,20 + ,NA + ,16 + ,NA + ,26 + ,NA + ,22 + ,NA + ,27 + ,NA + ,5 + ,NA + ,17 + ,NA + ,12 + ,NA + ,11 + ,NA + ,19 + ,NA + ,20 + ,NA + ,22 + ,NA + ,14 + ,NA + ,19 + ,NA + ,8 + ,NA + ,14 + ,NA + ,25 + ,NA + ,6 + ,NA + ,28 + ,NA + ,8 + ,NA + ,20 + ,NA + ,21 + ,NA + ,13 + ,NA + ,21 + ,NA + ,21 + ,NA + ,26 + ,NA + ,8 + ,NA + ,15 + ,NA + ,18 + ,NA + ,9 + ,NA + ,13 + ,NA + ,20 + ,NA + ,10 + ,NA + ,4 + ,NA + ,NA + ,27 + ,NA + ,24 + ,NA + ,19 + ,NA + ,24 + ,NA + ,18 + ,NA + ,19 + ,NA + ,4 + ,22 + ,NA + ,16 + ,NA + ,13 + ,NA + ,25 + ,NA + ,23 + ,NA + ,22 + ,NA + ,6 + ,NA + ,23 + ,NA + ,18 + ,NA + ,19 + ,NA + ,26 + ,NA + ,20 + ,NA + ,21 + ,NA + ,4 + ,NA + ,16 + ,NA + ,20 + ,NA + ,13 + ,NA + ,25 + ,NA + ,24 + ,NA + ,24 + ,NA + ,7 + ,NA + ,19 + ,NA + ,20 + ,NA + ,13 + ,NA + ,25 + ,NA + ,22 + ,NA + ,25 + ,NA + ,7 + ,NA + ,NA + ,25 + ,NA + ,19 + ,NA + ,13 + ,NA + ,22 + ,NA + ,21 + ,NA + ,21 + ,NA + ,4 + ,19 + ,NA + ,17 + ,NA + ,14 + ,NA + ,21 + ,NA + ,18 + ,NA + ,20 + ,NA + ,6 + ,NA + ,NA + ,19 + ,NA + ,16 + ,NA + ,12 + ,NA + ,23 + ,NA + ,21 + ,NA + ,21 + ,NA + ,4 + ,NA + ,26 + ,NA + ,26 + ,NA + ,22 + ,NA + ,25 + ,NA + ,23 + ,NA + ,24 + ,NA + ,7 + ,21 + ,NA + ,15 + ,NA + ,11 + ,NA + ,24 + ,NA + ,23 + ,NA + ,23 + ,NA + ,4 + ,NA + ,NA + ,20 + ,NA + ,22 + ,NA + ,5 + ,NA + ,21 + ,NA + ,15 + ,NA + ,18 + ,NA + ,4 + ,24 + ,NA + ,17 + ,NA + ,18 + ,NA + ,21 + ,NA + ,21 + ,NA + ,24 + ,NA + ,8 + ,NA + ,22 + ,NA + ,23 + ,NA + ,19 + ,NA + ,25 + ,NA + ,24 + ,NA + ,24 + ,NA + ,4 + ,NA + ,NA + ,20 + ,NA + ,21 + ,NA + ,14 + ,NA + ,22 + ,NA + ,23 + ,NA + ,19 + ,NA + ,4) + ,dim=c(14 + ,35) + ,dimnames=list(c('I1M' + ,'I1F' + ,'I2M' + ,'I2F' + ,'I3M' + ,'I3F' + ,'E1M' + ,'E1F' + ,'E2M' + ,'E2F' + ,'E3M' + ,'E3F' + ,'AM' + ,'AF') + ,1:35)) > y <- array(NA,dim=c(14,35),dimnames=list(c('I1M','I1F','I2M','I2F','I3M','I3F','E1M','E1F','E2M','E2F','E3M','E3F','AM','AF'),1:35)) > 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/1iff81319227580.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] [,10] [,11] [,12] [,13] [,14] [1,] 15.0 15.0 11 16 9.0 5 17 21 18.0 15 18.0 12 4 4 [2,] 17.5 20.0 16 19 12.5 12 21 22 20.0 20 20.5 19 4 4 [3,] 20.0 22.5 18 22 14.0 15 25 23 21.5 22 22.5 21 6 4 [4,] 22.5 25.0 20 24 18.5 19 25 25 23.0 24 25.5 24 8 5 [5,] 24.0 27.0 24 27 23.0 23 28 28 26.0 28 28.0 27 14 5 $n [1] 20 14 20 14 20 14 20 14 20 14 20 14 20 14 $conf [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,] 18.23351 20.38864 16.58681 19.88864 11.88021 12.04409 23.58681 21.73318 [2,] 21.76649 24.61136 19.41319 24.11136 16.11979 17.95591 26.41319 24.26682 [,9] [,10] [,11] [,12] [,13] [,14] [1,] 20.4401 20.31091 20.73351 18.88864 4.586805 3.577727 [2,] 22.5599 23.68909 24.26649 23.11136 7.413195 4.422273 $out [1] 8 13 13 6 10 8 7 $group [1] 3 7 9 9 11 14 14 $names [1] "I1M" "I1F" "I2M" "I2F" "I3M" "I3F" "E1M" "E1F" "E2M" "E2F" "E3M" "E3F" [13] "AM" "AF" Warning message: In bxp(list(stats = c(15, 17.5, 20, 22.5, 24, 15, 20, 22.5, 25, : 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/2vpp01319227580.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/3b5811319227580.tab") > > try(system("convert tmp/1iff81319227580.ps tmp/1iff81319227580.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.553 0.090 0.641