R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree" Copyright (C) 2015 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-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(11 + ,11 + ,11 + ,11 + ,13 + ,14 + ,14 + ,13 + ,16 + ,14 + ,14 + ,14 + ,13 + ,14 + ,14 + ,12 + ,14 + ,14 + ,14 + ,16 + ,14 + ,14 + ,14 + ,23 + ,11 + ,13 + ,14 + ,11 + ,14 + ,14 + ,11 + ,19 + ,13 + ,7 + ,13 + ,14 + ,11 + ,9 + ,5 + ,14 + ,13 + ,14 + ,23 + ,11 + ,14 + ,14 + ,11 + ,23 + ,13 + ,14 + ,14 + ,14 + ,14 + ,14 + ,14 + ,13 + ,16 + ,18 + ,13 + ,12 + ,10 + ,11 + ,14 + ,14 + ,14 + ,14 + ,9 + ,13 + ,11 + ,11 + ,13 + ,14 + ,14 + ,11 + ,14 + ,14 + ,14 + ,13 + ,20 + ,14 + ,14 + ,16 + ,14 + ,14 + ,11 + ,23 + ,18 + ,9 + ,16 + ,10 + ,14 + ,11 + ,14 + ,14 + ,13 + ,23 + ,20 + ,14 + ,12 + ,14 + ,13 + ,16 + ,9 + ,13 + ,11 + ,14 + ,20 + ,16 + ,14 + ,14 + ,18 + ,9 + ,12 + ,13 + ,9 + ,11 + ,14 + ,14 + ,11 + ,14 + ,10 + ,11 + ,14 + ,14 + ,18 + ,14 + ,18 + ,16 + ,18 + ,14 + ,11 + ,15 + ,14 + ,14 + ,14 + ,16 + ,15 + ,16 + ,14 + ,18 + ,13 + ,11 + ,12 + ,14 + ,14 + ,16 + ,9 + ,14 + ,14 + ,11 + ,11 + ,14 + ,14 + ,14 + ,18 + ,18 + ,14 + ,18 + ,9 + ,23 + ,9 + ,14 + ,14 + ,14 + ,14 + ,11 + ,14 + ,14 + ,14 + ,14 + ,14 + ,14 + ,10 + ,14 + ,11 + ,23 + ,9 + ,10 + ,11 + ,13 + ,12 + ,18 + ,14 + ,14 + ,16 + ,9 + ,13 + ,11 + ,14 + ,14 + ,14 + ,23 + ,14 + ,16 + ,14 + ,14 + ,14 + ,16 + ,14 + ,16 + ,7 + ,14 + ,9 + ,16 + ,18 + ,14 + ,14 + ,18 + ,13 + ,14 + ,9 + ,16 + ,23 + ,14 + ,14 + ,18 + ,14 + ,23 + ,8 + ,7 + ,14 + ,10 + ,13 + ,14 + ,16 + ,14 + ,10 + ,14 + ,11 + ,12 + ,11 + ,14 + ,9 + ,11 + ,14 + ,13 + ,18 + ,14 + ,14 + ,14 + ,18 + ,17 + ,9 + ,11 + ,14 + ,14 + ,16 + ,14 + ,14 + ,14 + ,16 + ,14 + ,11 + ,14 + ,11 + ,14 + ,16 + ,14 + ,14 + ,14 + ,14 + ,14 + ,11 + ,14 + ,11 + ,16 + ,14 + ,14 + ,14 + ,14 + ,14 + ,14 + ,16 + ,14 + ,14 + ,9 + ,9 + ,14 + ,16 + ,14 + ,18 + ,13 + ,12 + ,18 + ,11 + ,16 + ,14 + ,10 + ,14 + ,12 + ,16 + ,14 + ,9 + ,14 + ,11 + ,23 + ,14 + ,14 + ,13 + ,16 + ,13 + ,11 + ,14 + ,20 + ,14 + ,11 + ,13 + ,11 + ,18 + ,14 + ,14 + ,18 + ,14 + ,14 + ,13 + ,16 + ,16 + ,14 + ,14 + ,12 + ,14 + ,14 + ,13 + ,23 + ,14 + ,14 + ,9 + ,11 + ,11 + ,14 + ,12 + ,13 + ,23 + ,23 + ,14 + ,14 + ,18 + ,9 + ,14 + ,14 + ,14 + ,11 + ,14 + ,14 + ,14 + ,14 + ,18 + ,11 + ,16 + ,14 + ,14 + ,16 + ,9 + ,9 + ,23 + ,16 + ,13 + ,23 + ,18 + ,14 + ,20 + ,14 + ,18 + ,14 + ,13 + ,11 + ,18 + ,16 + ,11 + ,9 + ,14 + ,14 + ,14 + ,14 + ,7 + ,14 + ,14 + ,14 + ,14 + ,14 + ,11 + ,14 + ,14 + ,14 + ,14 + ,11 + ,11 + ,18 + ,14 + ,15 + ,18 + ,12 + ,14 + ,17 + ,11 + ,13 + ,14 + ,11 + ,13 + ,14 + ,14 + ,14 + ,14 + ,14 + ,10 + ,11 + ,14 + ,18 + ,14 + ,13 + ,11 + ,14 + ,14 + ,13 + ,14 + ,14 + ,14 + ,16 + ,14 + ,16 + ,14 + ,5 + ,7 + ,11 + ,14 + ,14 + ,14 + ,11 + ,9 + ,14 + ,16 + ,16 + ,13 + ,18 + ,14 + ,18 + ,14 + ,11 + ,14 + ,9 + ,13 + ,13 + ,14 + ,11 + ,14 + ,23 + ,14 + ,14 + ,13 + ,14 + ,16 + ,9 + ,14 + ,14 + ,14 + ,14 + ,14 + ,18 + ,14 + ,14 + ,16 + ,11 + ,14 + ,23 + ,14 + ,14 + ,14 + ,14 + ,11 + ,14 + ,14 + ,14 + ,11 + ,14 + ,14 + ,14 + ,11 + ,14 + ,14 + ,12 + ,14 + ,14 + ,14 + ,14 + ,11 + ,9 + ,14 + ,16 + ,14 + ,9 + ,9 + ,11 + ,14 + ,14 + ,14 + ,14 + ,13 + ,16 + ,11 + ,14 + ,14 + ,16 + ,16 + ,14 + ,9 + ,14 + ,14 + ,14 + ,11 + ,14 + ,14 + ,12 + ,14 + ,11 + ,14 + ,23 + ,14 + ,9 + ,13 + ,14 + ,14 + ,14 + ,14 + ,14 + ,18 + ,14 + ,16 + ,12 + ,14 + ,11 + ,13 + ,11 + ,14 + ,11 + ,14 + ,13 + ,11 + ,9 + ,14 + ,11 + ,14 + ,14 + ,13 + ,14 + ,14 + ,14 + ,14 + ,11 + ,11 + ,14 + ,14 + ,27 + ,9 + ,14 + ,16 + ,11 + ,14 + ,11 + ,14 + ,18 + ,11 + ,14 + ,13 + ,13 + ,14 + ,13 + ,12 + ,8 + ,14 + ,18 + ,14 + ,14 + ,14 + ,14 + ,14 + ,13 + ,14 + ,14 + ,14 + ,16 + ,14 + ,14 + ,14 + ,9 + ,13 + ,9 + ,14 + ,14 + ,11 + ,14 + ,18 + ,14 + ,14 + ,11 + ,18 + ,14 + ,14 + ,13 + ,11 + ,14 + ,16 + ,14 + ,9 + ,14 + ,9 + ,11 + ,14 + ,18 + ,11 + ,21 + ,9 + ,9 + ,14 + ,14 + ,11 + ,14 + ,11 + ,18 + ,13 + ,18 + ,13 + ,14 + ,14 + ,14 + ,16 + ,14 + ,9 + ,14 + ,11 + ,14 + ,18 + ,14 + ,14 + ,7 + ,16 + ,8 + ,14 + ,11 + ,14 + ,14 + ,14 + ,7 + ,9 + ,14 + ,11 + ,14 + ,9 + ,14 + ,14 + ,14 + ,11 + ,18 + ,23 + ,14 + ,14 + ,16 + ,14 + ,14 + ,7 + ,14 + ,11 + ,14 + ,14 + ,12 + ,14 + ,11 + ,11 + ,14 + ,14 + ,14 + ,23 + ,14 + ,11 + ,14 + ,11 + ,14 + ,12 + ,11 + ,15 + ,14 + ,11 + ,14 + ,16 + ,14 + ,18 + ,14 + ,14 + ,13 + ,14 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13 + ,13) + ,dim=c(1 + ,1019) + ,dimnames=list(c('V1') + ,1:1019)) > y <- array(NA,dim=c(1,1019),dimnames=list(c('V1'),1:1019)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par2 = 'no' > par1 = 'grey' > ylab = 'value' > xlab = 'variables' > main = 'Notched Boxplots' > par2 <- 'no' > par1 <- 'grey' > #'GNU S' R Code compiled by R2WASP v. 1.2.327 (Mon, 28 Dec 2015 11:07:50 +0000) > #Author: root > #To cite this work: Wessa P., (2015), Notched Boxplots (v1.0.7) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_notchedbox1.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > # > if(par2=='yes') { + z <- na.omit(as.data.frame(t(y))) + } else { + z <- as.data.frame(t(y)) + } > postscript(file="/var/wessaorg/rcomp/tmp/10mw61457038385.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] [1,] 12 [2,] 13 [3,] 13 [4,] 14 [5,] 15 $n [1] 1019 $conf [,1] [1,] 12.9505 [2,] 13.0495 $out [1] 11 11 11 11 16 16 23 11 11 11 19 7 11 9 5 23 11 11 23 16 18 10 11 9 11 [26] 11 11 20 16 11 23 18 9 16 10 11 23 20 16 9 11 20 16 18 9 9 11 11 10 11 [51] 18 18 16 18 11 16 16 18 11 16 9 11 11 18 18 18 9 23 9 11 10 11 23 9 10 [76] 11 18 16 9 11 23 16 16 16 7 9 16 18 18 9 16 23 18 23 8 7 10 16 10 11 [101] 11 9 11 18 18 17 9 11 16 16 11 11 16 11 11 16 16 9 9 16 18 18 11 16 10 [126] 16 9 11 23 16 11 20 11 11 18 18 16 16 23 9 11 11 23 23 18 9 11 18 11 16 [151] 16 9 9 23 16 23 18 20 18 11 18 16 11 9 7 11 11 11 18 18 17 11 11 10 11 [176] 18 11 16 16 5 7 11 11 9 16 16 18 18 11 9 11 23 16 9 18 16 11 23 11 11 [201] 11 11 9 16 9 9 11 16 11 16 16 9 11 11 23 9 18 16 11 11 11 11 9 11 11 [226] 11 27 9 16 11 11 18 11 8 18 16 9 9 11 18 11 18 11 16 9 9 11 18 11 21 [251] 9 9 11 11 18 18 16 9 11 18 7 16 8 11 7 9 11 9 11 18 23 16 7 11 11 [276] 11 23 11 11 11 11 16 18 $group [1] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 [38] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 [75] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 [112] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 [149] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 [186] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 [223] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 [260] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 $names [1] "V1" Warning message: In bxp(list(stats = c(12, 13, 13, 14, 15), n = 1019, conf = c(12.9505040123155, : 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/22w4a1457038385.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/34avu1457038385.tab") > > try(system("convert tmp/10mw61457038385.ps tmp/10mw61457038385.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.762 0.069 0.828