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 + ,14 + ,23 + ,14 + ,7 + ,14 + ,11 + ,23 + ,14 + ,14 + ,16 + ,16 + ,11 + ,10 + ,14 + ,14 + ,14 + ,16 + ,11 + ,7 + ,14 + ,13 + ,14 + ,7 + ,14 + ,18 + ,13 + ,14 + ,11 + ,11 + ,23 + ,14 + ,0 + ,14 + ,14 + ,14 + ,16 + ,14 + ,14 + ,16 + ,14 + ,9 + ,9 + ,9 + ,14 + ,16 + ,14 + ,11 + ,13 + ,16 + ,18 + ,14 + ,16 + ,13 + ,14 + ,14 + ,14 + ,13 + ,14 + ,14 + ,14 + ,14 + ,14 + ,14 + ,14 + ,16 + ,14 + ,14 + ,14 + ,11 + ,23 + ,14 + ,14 + ,14 + ,11 + ,11 + ,16 + ,14 + ,16 + ,14 + ,13 + ,14 + ,16 + ,14 + ,14 + ,16 + ,11 + ,11 + ,13 + ,16 + ,23 + ,14 + ,14 + ,13 + ,14 + ,14 + ,14 + ,9 + ,14 + ,14 + ,9 + ,14 + ,11 + ,9 + ,14 + ,23 + ,9 + ,18 + ,18 + ,14 + ,13 + ,16 + ,11 + ,9 + ,9 + ,9 + ,13 + ,16 + ,14 + ,13 + ,14 + ,14 + ,16 + ,12 + ,14 + ,11 + ,11 + ,14 + ,14 + ,14 + ,11 + ,16 + ,14 + ,16 + ,16 + ,14 + ,13 + ,14 + ,12 + ,14 + ,12 + ,14 + ,14 + ,23 + ,11 + ,14 + ,14 + ,14 + ,18 + ,14 + ,14 + ,11 + ,16 + ,14 + ,14 + ,9 + ,14 + ,18 + ,14 + ,12 + ,14 + ,18 + ,14 + ,14 + ,12 + ,16 + ,16 + ,12 + ,23 + ,14 + ,14 + ,11 + ,14 + ,18 + ,11 + ,14 + ,11 + ,14 + ,7 + ,18 + ,14 + ,11 + ,14 + ,14 + ,14 + ,14 + ,14 + ,11 + ,11 + ,14 + ,9 + ,8 + ,11 + ,14 + ,13 + ,6 + ,12 + ,14 + ,14 + ,14 + ,14 + ,11 + ,14 + ,16 + ,13 + ,14 + ,13 + ,14 + ,14 + ,11 + ,20 + ,13 + ,14 + ,14 + ,11 + ,11 + ,13 + ,14 + ,14 + ,14 + ,13 + ,14 + ,10 + ,16 + ,16 + ,5 + ,14 + ,13 + ,20 + ,14 + ,13 + ,14 + ,7 + ,23 + ,16 + ,11 + ,11 + ,14 + ,14 + ,14 + ,14 + ,14 + ,18 + ,13 + ,11 + ,14 + ,11 + ,14 + ,11 + ,11 + ,14 + ,16 + ,14 + ,11 + ,9 + ,14 + ,14 + ,14 + ,7 + ,14 + ,16 + ,23 + ,16 + ,14 + ,14 + ,11 + ,14 + ,14 + ,7 + ,14 + ,11 + ,14 + ,14 + ,11 + ,13 + ,14 + ,14 + ,18 + ,11 + ,14 + ,14 + ,11 + ,16 + ,13 + ,14 + ,11 + ,14 + ,14 + ,11 + ,14 + ,14 + ,14 + ,11 + ,16 + ,11 + ,13 + ,11 + ,14 + ,14 + ,23 + ,14 + ,14 + ,0 + ,14 + ,14 + ,14 + ,9 + ,11 + ,11 + ,16 + ,11 + ,14 + ,11 + ,23 + ,9 + ,20 + ,11 + ,16 + ,14 + ,18 + ,16 + ,14 + ,14 + ,14 + ,14 + ,10 + ,14 + ,11 + ,14 + ,7) + ,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 = 'Boxplot maximumprijzen bioscoopticket' > 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/15pri1456595359.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,] 9 [2,] 12 [3,] 14 [4,] 14 [5,] 17 $n [1] 1019 $conf [,1] [1,] 13.90101 [2,] 14.09899 $out [1] 23 19 7 5 23 23 18 20 23 18 23 20 20 18 18 18 18 18 18 18 18 23 23 18 23 [26] 7 18 18 23 18 23 8 7 18 18 18 18 23 20 18 18 23 23 23 18 18 23 23 18 20 [51] 18 18 7 18 18 18 5 7 18 18 23 18 23 23 18 27 18 8 18 18 18 18 21 18 18 [76] 18 7 8 7 18 23 7 23 18 23 7 23 7 7 18 23 0 18 23 23 23 18 18 23 18 [101] 18 18 23 18 7 18 8 6 20 5 20 7 23 18 7 23 7 18 23 0 23 20 18 7 $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 $names [1] "V1" Warning message: In bxp(list(stats = c(9, 12, 14, 14, 17), n = 1019, conf = c(13.9010080246311, : 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/2sjuh1456595360.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/330861456595360.tab") > > try(system("convert tmp/15pri1456595359.ps tmp/15pri1456595359.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.792 0.102 0.890