R version 2.8.0 (2008-10-20) Copyright (C) 2008 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(15370.60 + ,12300.00 + ,14956.90 + ,12092.80 + ,15469.70 + ,12380.80 + ,15101.80 + ,12196.90 + ,11703.70 + ,9455.00 + ,16283.60 + ,13168.00 + ,16726.50 + ,13427.90 + ,14968.90 + ,11980.50 + ,14861.00 + ,11884.80 + ,14583.30 + ,11691.70 + ,15305.80 + ,12233.80 + ,17903.90 + ,14341.40 + ,16379.40 + ,13130.70 + ,15420.30 + ,12421.10 + ,17870.50 + ,14285.80 + ,15912.80 + ,12864.60 + ,13866.50 + ,11160.20 + ,17823.20 + ,14316.20 + ,17872.00 + ,14388.70 + ,17420.40 + ,14013.90 + ,16704.40 + ,13419.00 + ,15991.20 + ,12769.60 + ,16583.60 + ,13315.50 + ,19123.50 + ,15332.90 + ,17838.70 + ,14243.00 + ,17209.40 + ,13824.40 + ,18586.50 + ,14962.90 + ,16258.10 + ,13202.90 + ,15141.60 + ,12199.00 + ,19202.10 + ,15508.90 + ,17746.50 + ,14199.80 + ,19090.10 + ,15169.60 + ,18040.30 + ,14058.00 + ,17515.50 + ,13786.20 + ,17751.80 + ,14147.90 + ,21072.40 + ,16541.70 + ,17170.00 + ,13587.50 + ,19439.50 + ,15582.40 + ,19795.40 + ,15802.80 + ,17574.90 + ,14130.50 + ,16165.40 + ,12923.20 + ,19464.60 + ,15612.20 + ,19932.10 + ,16033.70 + ,19961.20 + ,16036.60 + ,17343.40 + ,14037.80 + ,18924.20 + ,15330.60 + ,18574.10 + ,15038.30 + ,21350.60 + ,17401.80 + ,18594.60 + ,14992.50 + ,19823.10 + ,16043.70 + ,20844.40 + ,16929.60 + ,19640.20 + ,15921.30 + ,17735.40 + ,14417.20 + ,19813.60 + ,15961.00 + ,22238.50 + ,17851.90 + ,20682.20 + ,16483.90 + ,17818.60 + ,14215.50 + ,21872.10 + ,17429.70 + ,22117.00 + ,17839.50 + ,21865.90 + ,17629.20) + ,dim=c(2 + ,60) + ,dimnames=list(c('Totaal' + ,'Vlaanderen') + ,1:60)) > y <- array(NA,dim=c(2,60),dimnames=list(c('Totaal','Vlaanderen'),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/1divm1229448027.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] [1,] 11703.70 9455.00 [2,] 16211.75 13026.95 [3,] 17785.20 14207.65 [4,] 19452.05 15597.30 [5,] 22238.50 17851.90 $n [1] 60 60 $conf [,1] [,2] [1,] 17124.25 13683.36 [2,] 18446.15 14731.94 $out numeric(0) $group numeric(0) $names [1] "Totaal" "Vlaanderen" > 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/24sgy1229448027.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/3q63j1229448027.tab") > > system("convert tmp/1divm1229448027.ps tmp/1divm1229448027.png") > > > proc.time() user system elapsed 0.370 0.146 0.784