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(581000 + ,282965 + ,111632 + ,37391 + ,597000 + ,276610 + ,106707 + ,38540 + ,587000 + ,277838 + ,108827 + ,38022 + ,536000 + ,277051 + ,108413 + ,34470 + ,524000 + ,277026 + ,106249 + ,33227 + ,537000 + ,274960 + ,104861 + ,33411 + ,536000 + ,270073 + ,102382 + ,33616 + ,533000 + ,267063 + ,100320 + ,32618 + ,528000 + ,264916 + ,100228 + ,31759 + ,516000 + ,287182 + ,117089 + ,29951 + ,502000 + ,291109 + ,121523 + ,28022 + ,506000 + ,292223 + ,114948 + ,27823 + ,518000 + ,288109 + ,112831 + ,27730 + ,534000 + ,281400 + ,107605 + ,28472 + ,528000 + ,282579 + ,108928 + ,28468 + ,478000 + ,280113 + ,101993 + ,24910 + ,469000 + ,280331 + ,102850 + ,24312 + ,490000 + ,276759 + ,99925 + ,26180 + ,493000 + ,275139 + ,101536 + ,26121 + ,508000 + ,274275 + ,99450 + ,26696 + ,517000 + ,271234 + ,98305 + ,27206 + ,514000 + ,289725 + ,110159 + ,27210 + ,510000 + ,290649 + ,109483 + ,26646 + ,527000 + ,292223 + ,106810 + ,27441 + ,542000 + ,278429 + ,96279 + ,28143 + ,565000 + ,269749 + ,91982 + ,30134 + ,555000 + ,265784 + ,90276 + ,30393 + ,499000 + ,268957 + ,90999 + ,26203 + ,511000 + ,264099 + ,86622 + ,26374 + ,526000 + ,255121 + ,83117 + ,27182 + ,532000 + ,253276 + ,80367 + ,28060 + ,549000 + ,245980 + ,77550 + ,29175 + ,561000 + ,235295 + ,77443 + ,30522 + ,557000 + ,258479 + ,92844 + ,30083 + ,566000 + ,260916 + ,92175 + ,30713 + ,588000 + ,254586 + ,84822 + ,32013 + ,620000 + ,250566 + ,81632 + ,35395 + ,626000 + ,243345 + ,78872 + ,35816 + ,620000 + ,247028 + ,81485 + ,36057 + ,573000 + ,248464 + ,80651 + ,33169 + ,573000 + ,244962 + ,78192 + ,33792 + ,574000 + ,237003 + ,76844 + ,34412 + ,580000 + ,237008 + ,76335 + ,33935 + ,590000 + ,225477 + ,71415 + ,34500 + ,593000 + ,226762 + ,73899 + ,34286 + ,597000 + ,247857 + ,86822 + ,36007 + ,595000 + ,248256 + ,86371 + ,35701 + ,612000 + ,246892 + ,83469 + ,36830 + ,628000 + ,245021 + ,82662 + ,37250 + ,629000 + ,246186 + ,82880 + ,39284 + ,621000 + ,255688 + ,89406 + ,38192 + ,569000 + ,264242 + ,95378 + ,33347 + ,567000 + ,268270 + ,97657 + ,33357 + ,573000 + ,272969 + ,100247 + ,33654 + ,584000 + ,273886 + ,99180 + ,34390 + ,589000 + ,267353 + ,97493 + ,34715 + ,591000 + ,271916 + ,101628 + ,35377 + ,595000 + ,292633 + ,114585 + ,35415 + ,594000 + ,295804 + ,115669 + ,34718 + ,611000 + ,293222 + ,111311 + ,36021) + ,dim=c(4 + ,60) + ,dimnames=list(c('WLH_België' + ,'WLH_MBEL' + ,'WLH_MVL' + ,'WLH_MA') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('WLH_België','WLH_MBEL','WLH_MVL','WLH_MA'),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/freestat/rcomp/tmp/1qbg71257809732.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,] 469000 225477 71415.0 24312.0 [2,] 525000 249515 83293.0 28041.0 [3,] 563000 269353 97981.0 33198.0 [4,] 590500 279271 106758.5 35047.5 [5,] 629000 295804 121523.0 39284.0 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 549639.5 263283.5 93194.57 31768.83 [2,] 576360.5 275422.5 102767.43 34627.17 $out numeric(0) $group numeric(0) $names [1] "WLH_Belgi\353" "WLH_MBEL" "WLH_MVL" "WLH_MA" > dev.off() null device 1 > > #Note: the /var/www/html/freestat/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/freestat/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/freestat/rcomp/tmp/2ioim1257809732.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/freestat/rcomp/tmp/3cxe71257809732.tab") > system("convert tmp/1qbg71257809732.ps tmp/1qbg71257809732.png") > > > proc.time() user system elapsed 0.548 0.208 0.596