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 + ,1 + ,1 + ,1 + ,0.917044377 + ,1.842600513 + ,0.996966699 + ,0.961538462 + ,1.014757036 + ,1.923866553 + ,0.988215499 + ,0.961538462 + ,0.943080004 + ,2.298545766 + ,0.968914965 + ,0.615384615 + ,0.97849689 + ,3.728828058 + ,0.955204191 + ,0.538461538 + ,0.930641931 + ,4.603934987 + ,0.957098954 + ,0.307692308 + ,1.048487404 + ,3.814371257 + ,1.085701262 + ,0.423076923 + ,1.014862443 + ,5.473053892 + ,1.10323097 + ,0.5 + ,0.982186149 + ,3.931565441 + ,1.098573886 + ,0.461538462 + ,1.012438073 + ,2.586826347 + ,1.089352147 + ,0.5 + ,0.910719933 + ,1.614200171 + ,1.069719714 + ,0.423076923 + ,0.97122378 + ,1.770744226 + ,1.076019485 + ,0.5 + ,1.008432592 + ,1.155688623 + ,1.090568408 + ,0.461538462 + ,0.900917044 + ,1.897348161 + ,1.086041563 + ,0.615384615 + ,0.968166965 + ,2.105218135 + ,1.071177547 + ,0.653846154 + ,0.998208074 + ,2.590248075 + ,1.069484444 + ,0.576923077 + ,0.961631707 + ,4.092386655 + ,1.052112283 + ,0.346153846 + ,0.977969853 + ,4.255774166 + ,1.064955498 + ,0.576923077 + ,1.071993254 + ,3.940975192 + ,1.195933612 + ,0.538461538 + ,0.994413408 + ,5.345594525 + ,1.217761197 + ,0.615384615 + ,1.017708443 + ,4.113772455 + ,1.214143922 + ,0.653846154 + ,0.993886371 + ,2.700598802 + ,1.187827303 + ,0.538461538 + ,0.921155265 + ,1.633875107 + ,1.149763995 + ,0.692307692 + ,1.006851481 + ,1.905902481 + ,1.165401041 + ,0.653846154 + ,1.02108148 + ,1.363558597 + ,1.181233444 + ,0.538461538 + ,0.950669337 + ,2.110350727 + ,1.178143426 + ,0.461538462 + ,1.019500369 + ,1.900769889 + ,1.16654378 + ,0.384615385 + ,0.970380521 + ,3.085543199 + ,1.141897158 + ,0.653846154 + ,0.955939707 + ,4.007698888 + ,1.127325128 + ,0.923076923 + ,1.031727627 + ,4.24465355 + ,1.14005491 + ,0.769230769 + ,1.086961105 + ,4.935842601 + ,1.246783419 + ,0.807692308 + ,1.065141773 + ,4.687767322 + ,1.282983474 + ,0.769230769 + ,1.039633182 + ,4.277159966 + ,1.286869629 + ,0.692307692 + ,1.017813851 + ,2.761334474 + ,1.284161925 + ,1.038461538 + ,0.979761779 + ,1.704875962 + ,1.248121517 + ,0.884615385 + ,1.048381996 + ,1.9572284 + ,1.25082502 + ,0.730769231 + ,1.022557184 + ,1.351582549 + ,1.241185256 + ,0.769230769 + ,0.953831559 + ,1.805816938 + ,1.238063729 + ,0.884615385 + ,1.074101402 + ,1.875106929 + ,1.227663539 + ,1.076923077 + ,1.023084221 + ,3.080410607 + ,1.203867669 + ,0.923076923 + ,1.029303257 + ,3.990590248 + ,1.192011747 + ,0.884615385 + ,1.042795404 + ,4.171086399 + ,1.195313928 + ,1.038461538 + ,1.053441552 + ,4.972626176 + ,1.303930898 + ,1.038461538 + ,1.0997154 + ,4.78100941 + ,1.321048884 + ,1.115384615 + ,1.061768736 + ,4.560307956 + ,1.319679277 + ,1.153846154 + ,1.065879625 + ,2.630453379 + ,1.285827719 + ,0.846153846 + ,0.976704965 + ,1.71257485 + ,1.250719989 + ,0.884615385 + ,1.035100664 + ,1.972626176 + ,1.254368773 + ,1.076923077 + ,1.064298514 + ,1.289136014 + ,1.246527143 + ,1.076923077 + ,0.960788447 + ,1.70402053 + ,1.239519461 + ,1.076923077 + ,1.097396437 + ,2.127459367 + ,1.21793975 + ,0.846153846 + ,1.020132813 + ,2.985457656 + ,1.206188859 + ,1 + ,1.097080215 + ,3.975192472 + ,1.203184966 + ,1.076923077 + ,1.070201328 + ,4.78528657 + ,1.20353577 + ,0.961538462 + ,1.092863919 + ,4.799828914 + ,1.301477369 + ,0.923076923 + ,1.115315695 + ,4.951240376 + ,1.314589465 + ,0.884615385 + ,1.117002214 + ,5.307100086 + ,1.302210487 + ,0.730769231 + ,1.125751028 + ,2.577416595 + ,1.234379234 + ,0.653846154 + ,1.026457257 + ,1.651839179 + ,1.188411277 + ,0.769230769 + ,1.007273111 + ,2.180496151 + ,1.170623192 + ,0.807692308) + ,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/1hi631258726865.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.9009170 1.000000 0.9552042 0.3076923 [2,] 0.9773374 1.886228 1.0899603 0.5576923 [3,] 1.0177611 2.665526 1.1936628 0.7692308 [4,] 1.0576051 4.207870 1.2466553 0.9423077 [5,] 1.1257510 5.473054 1.3210489 1.1538462 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 1.001388 2.191964 1.161701 0.6907780 [2,] 1.034134 3.139088 1.225625 0.8476835 $out numeric(0) $group numeric(0) $names [1] "Geb." "Huw." "WerkLH." "Inflatie" > 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/24nus1258726865.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/368x51258726865.tab") > > system("convert tmp/1hi631258726865.ps tmp/1hi631258726865.png") > > > proc.time() user system elapsed 0.398 0.168 1.436