R version 2.9.0 (2009-04-17) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 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.00 + ,1.00 + ,1.00 + ,2.6 + ,0.92 + ,1.84 + ,1.00 + ,2.5 + ,1.00 + ,1.92 + ,0.99 + ,2.5 + ,0.94 + ,2.30 + ,0.97 + ,1.6 + ,1.00 + ,3.73 + ,0.96 + ,1.4 + ,0.93 + ,4.60 + ,0.96 + ,0.8 + ,1.00 + ,3.81 + ,1.09 + ,1.1 + ,1.01 + ,5.47 + ,1.10 + ,1.3 + ,1.00 + ,3.93 + ,1.10 + ,1.2 + ,1.01 + ,2.59 + ,1.09 + ,1.3 + ,1.00 + ,1.61 + ,1.07 + ,1.1 + ,0.97 + ,1.77 + ,1.08 + ,1.3 + ,1.00 + ,1.16 + ,1.09 + ,1.2 + ,0.90 + ,1.90 + ,1.09 + ,1.6 + ,1.00 + ,2.11 + ,1.07 + ,1.7 + ,1.00 + ,2.59 + ,1.07 + ,1.5 + ,1.00 + ,4.09 + ,1.05 + ,0.9 + ,0.98 + ,4.26 + ,1.06 + ,1.5 + ,1.00 + ,3.94 + ,1.20 + ,1.4 + ,0.99 + ,5.35 + ,1.22 + ,1.6 + ,1.00 + ,4.11 + ,1.21 + ,1.7 + ,0.99 + ,2.70 + ,1.19 + ,1.4 + ,1.00 + ,1.63 + ,1.15 + ,1.8 + ,1.01 + ,1.91 + ,1.17 + ,1.7 + ,1.00 + ,1.36 + ,1.18 + ,1.4 + ,0.95 + ,2.11 + ,1.18 + ,1.2 + ,1.00 + ,1.90 + ,1.17 + ,1 + ,0.97 + ,3.09 + ,1.14 + ,1.7 + ,1.00 + ,4.01 + ,1.13 + ,2.4 + ,1.03 + ,4.24 + ,1.14 + ,2 + ,1.00 + ,4.94 + ,1.25 + ,2.1 + ,1.07 + ,4.69 + ,1.28 + ,2 + ,1.00 + ,4.28 + ,1.29 + ,1.8 + ,1.02 + ,2.76 + ,1.28 + ,2.7 + ,1.00 + ,1.70 + ,1.25 + ,2.3 + ,1.05 + ,1.96 + ,1.25 + ,1.9 + ,1.00 + ,1.35 + ,1.24 + ,2 + ,0.95 + ,1.81 + ,1.24 + ,2.3 + ,1.00 + ,1.88 + ,1.23 + ,2.8 + ,1.02 + ,3.08 + ,1.20 + ,2.4 + ,1.00 + ,3.99 + ,1.19 + ,2.3 + ,1.04 + ,4.17 + ,1.20 + ,2.7 + ,1.00 + ,4.97 + ,1.30 + ,2.7 + ,1.10 + ,4.78 + ,1.32 + ,2.9 + ,1.00 + ,4.56 + ,1.32 + ,3 + ,1.07 + ,2.63 + ,1.29 + ,2.2 + ,1.00 + ,1.71 + ,1.25 + ,2.3 + ,1.04 + ,1.97 + ,1.25 + ,2.8 + ,1.00 + ,1.29 + ,1.25 + ,2.8 + ,0.96 + ,1.70 + ,1.24 + ,2.8 + ,1.00 + ,2.13 + ,1.22 + ,2.2 + ,1.02 + ,2.99 + ,1.21 + ,2.6 + ,1.00 + ,3.98 + ,1.20 + ,2.8 + ,1.07 + ,4.79 + ,1.20 + ,2.5 + ,1.00 + ,4.80 + ,1.30 + ,2.4 + ,1.12 + ,4.95 + ,1.31 + ,2.3 + ,1.00 + ,5.31 + ,1.30 + ,1.9 + ,1.13 + ,2.58 + ,1.23 + ,1.7 + ,1.00 + ,1.65 + ,1.19 + ,2 + ,1.01 + ,2.18 + ,1.17 + ,2.1) + ,dim=c(4 + ,60) + ,dimnames=list(c('Geb.' + ,'Huw.' + ,'WerkLH.' + ,'Inflatie') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('Geb.','Huw.','WerkLH.','Inflatie'),1:60)) > 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' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: AUTHOR(S), (YEAR), YOUR SOFTWARE TITLE (vNUMBER) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_YOURPAGE.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description (don't use hard returns!) > z <- as.data.frame(t(y)) > postscript(file="/var/www/html/rcomp/tmp/1mh531257797569.ps",horizontal=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] [1,] 0.99 1.000 0.960 0.80 [2,] 1.00 1.890 1.090 1.45 [3,] 1.00 2.665 1.195 2.00 [4,] 1.01 4.205 1.250 2.45 [5,] 1.02 5.470 1.320 3.00 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 0.9979602 2.192793 1.162364 1.796023 [2,] 1.0020398 3.137207 1.227636 2.203977 $out [1] 0.92 0.94 0.93 0.97 0.90 0.98 0.95 0.97 1.03 1.07 1.05 0.95 1.04 1.10 1.07 [16] 1.04 0.96 1.07 1.12 1.13 $group [1] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 $names [1] "Geb." "Huw." "WerkLH." "Inflatie" Warning message: In bxp(list(stats = c(0.99, 1, 1, 1.01, 1.02, 1, 1.89, 2.665, 4.205, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > > #Note: the /var/www/html/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/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/www/html/rcomp/tmp/2aose1257797569.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/www/html/rcomp/tmp/3c5m61257797569.tab") > > system("convert tmp/1mh531257797569.ps tmp/1mh531257797569.png") > > > proc.time() user system elapsed 0.383 0.171 0.448