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(17192.4 + ,17903.9 + ,15386.1 + ,16379.4 + ,14287.1 + ,15420.3 + ,17526.6 + ,17870.5 + ,14497 + ,15912.8 + ,14398.3 + ,13866.5 + ,16629.6 + ,17823.2 + ,16670.7 + ,17872 + ,16614.8 + ,17422 + ,16869.2 + ,16704.5 + ,15663.9 + ,15991.2 + ,16359.9 + ,16583.6 + ,18447.7 + ,19123.5 + ,16889 + ,17838.7 + ,16505 + ,17209.4 + ,18320.9 + ,18586.5 + ,15052.1 + ,16258.1 + ,15699.8 + ,15141.6 + ,18135.3 + ,19202.1 + ,16768.7 + ,17746.5 + ,18883 + ,19090.1 + ,19021 + ,18040.3 + ,18101.9 + ,17515.5 + ,17776.1 + ,17751.8 + ,21489.9 + ,21072.4 + ,17065.3 + ,17170 + ,18690 + ,19439.5 + ,18953.1 + ,19795.4 + ,16398.9 + ,17574.9 + ,16895.6 + ,16165.4 + ,18553 + ,19464.6 + ,19270 + ,19932.1 + ,19422.1 + ,19961.2 + ,17579.4 + ,17343.4 + ,18637.3 + ,18924.2 + ,18076.7 + ,18574.1 + ,20438.6 + ,21350.6 + ,18075.2 + ,18594.6 + ,19563 + ,19823.1 + ,19899.2 + ,20844.4 + ,19227.5 + ,19640.2 + ,17789.6 + ,17735.4 + ,19220.8 + ,19813.6 + ,21968.9 + ,22160 + ,21131.5 + ,20664.3 + ,19484.6 + ,17877.4 + ,22168.7 + ,20906.5 + ,20866.8 + ,21164.1 + ,22176.2 + ,21374.4 + ,23533.8 + ,22952.3 + ,21479.6 + ,21343.5 + ,24347.7 + ,23899.3 + ,22751.6 + ,22392.9 + ,20328.3 + ,18274.1 + ,23650.4 + ,22786.7 + ,23335.7 + ,22321.5 + ,19614.9 + ,17842.2 + ,18042.3 + ,16373.5 + ,17282.5 + ,15993.8 + ,16847.2 + ,16446.1 + ,18159.5 + ,17729) + ,dim=c(2 + ,61) + ,dimnames=list(c('Invoer' + ,'Uitvoer') + ,1:61)) > y <- array(NA,dim=c(2,61),dimnames=list(c('Invoer','Uitvoer'),1:61)) > 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/1sq631260526839.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,] 14287.1 13866.5 [2,] 16869.2 17343.4 [3,] 18159.5 18040.3 [4,] 19614.9 19932.1 [5,] 23650.4 22952.3 $n [1] 61 61 $conf [,1] [,2] [1,] 17604.05 17516.61 [2,] 18714.95 18563.99 $out [1] 24347.7 23899.3 $group [1] 1 2 $names [1] "Invoer" "Uitvoer" > 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/2gbz11260526839.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/3oenk1260526839.tab") > > system("convert tmp/1sq631260526839.ps tmp/1sq631260526839.png") > > > proc.time() user system elapsed 0.362 0.160 0.445