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(14.2 + ,15.5 + ,-0.8 + ,100.2 + ,13.5 + ,15.1 + ,-0.2 + ,100.4 + ,11.9 + ,11.7 + ,0.2 + ,101.4 + ,14.6 + ,16.3 + ,1 + ,103 + ,15.6 + ,16.7 + ,0 + ,109.1 + ,14.1 + ,15 + ,-0.2 + ,111.4 + ,14.9 + ,14.9 + ,1 + ,114.1 + ,14.2 + ,14.6 + ,0.4 + ,121.8 + ,14.6 + ,15.3 + ,1 + ,127.6 + ,17.2 + ,17.9 + ,1.7 + ,129.9 + ,15.4 + ,16.4 + ,3.1 + ,128 + ,14.3 + ,15.4 + ,3.3 + ,123.5 + ,17.5 + ,17.9 + ,3.1 + ,124 + ,14.5 + ,15.9 + ,3.5 + ,127.4 + ,14.4 + ,13.9 + ,6 + ,127.6 + ,16.6 + ,17.8 + ,5.7 + ,128.4 + ,16.7 + ,17.9 + ,4.7 + ,131.4 + ,16.6 + ,17.4 + ,4.2 + ,135.1 + ,16.9 + ,16.7 + ,3.6 + ,134 + ,15.7 + ,16 + ,4.4 + ,144.5 + ,16.4 + ,16.6 + ,2.5 + ,147.3 + ,18.4 + ,19.1 + ,-0.6 + ,150.9 + ,16.9 + ,17.8 + ,-1.9 + ,148.7 + ,16.5 + ,17.2 + ,-1.9 + ,141.4 + ,18.3 + ,18.6 + ,0.7 + ,138.9 + ,15.1 + ,16.3 + ,-0.9 + ,139.8 + ,15.7 + ,15.1 + ,-1.7 + ,145.6 + ,18.1 + ,19.2 + ,-3.1 + ,147.9 + ,16.8 + ,17.7 + ,-2.1 + ,148.5 + ,18.9 + ,19.1 + ,0.2 + ,151.1 + ,19 + ,18 + ,1.2 + ,157.5 + ,18.1 + ,17.5 + ,3.8 + ,167.5 + ,17.8 + ,17.8 + ,4 + ,172.3 + ,21.5 + ,21.1 + ,6.6 + ,173.5 + ,17.1 + ,17.2 + ,5.3 + ,187.5 + ,18.7 + ,19.4 + ,7.6 + ,205.5 + ,19 + ,19.8 + ,4.7 + ,195.1 + ,16.4 + ,17.6 + ,6.6 + ,204.5 + ,16.9 + ,16.2 + ,4.4 + ,204.5 + ,18.6 + ,19.5 + ,4.6 + ,201.7 + ,19.3 + ,19.9 + ,6 + ,207 + ,19.4 + ,20 + ,4.8 + ,206.6 + ,17.6 + ,17.3 + ,4 + ,210.6 + ,18.6 + ,18.9 + ,2.7 + ,211.1 + ,18.1 + ,18.6 + ,3 + ,215 + ,20.4 + ,21.4 + ,4.1 + ,223.9 + ,18.1 + ,18.6 + ,4 + ,238.2 + ,19.6 + ,19.8 + ,2.7 + ,238.9 + ,19.9 + ,20.8 + ,2.6 + ,229.6 + ,19.2 + ,19.6 + ,3.1 + ,232.2 + ,17.8 + ,17.7 + ,4.4 + ,222.1 + ,19.2 + ,19.8 + ,3 + ,221.6 + ,22 + ,22.2 + ,2 + ,227.3 + ,21.1 + ,20.7 + ,1.3 + ,221 + ,19.5 + ,17.9 + ,1.5 + ,213.6 + ,22.2 + ,20.9 + ,1.3 + ,243.4 + ,20.9 + ,21.2 + ,3.2 + ,253.8 + ,22.2 + ,21.4 + ,1.8 + ,265.3 + ,23.5 + ,23 + ,3.3 + ,268.2 + ,21.5 + ,21.3 + ,1 + ,268.5 + ,24.3 + ,23.9 + ,2.4 + ,266.9 + ,22.8 + ,22.4 + ,0.4 + ,268.4 + ,20.3 + ,18.3 + ,-0.1 + ,250.8 + ,23.7 + ,22.8 + ,1.3 + ,231.2 + ,23.3 + ,22.3 + ,-1.1 + ,192 + ,19.6 + ,17.8 + ,-4.4 + ,171.4 + ,18 + ,16.4 + ,-7.5 + ,160 + ,17.3 + ,16 + ,-12.2 + ,148.1 + ,16.8 + ,16.4 + ,-14.5 + ,144.8 + ,18.2 + ,17.7 + ,-16 + ,147.2 + ,16.5 + ,16.6 + ,-16.7 + ,155.1 + ,16 + ,16.2 + ,-16.3 + ,161.1 + ,18.4 + ,18.3 + ,-16.9 + ,169.9) + ,dim=c(4 + ,73) + ,dimnames=list(c('Inv' + ,'Uitv' + ,'Ip' + ,'Pig') + ,1:73)) > y <- array(NA,dim=c(4,73),dimnames=list(c('Inv','Uitv','Ip','Pig'),1:73)) > 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/13cnc1261052255.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,] 11.9 11.7 -4.4 100.2 [2,] 16.4 16.4 -0.2 135.1 [3,] 18.0 17.8 1.8 161.1 [4,] 19.4 19.8 4.0 215.0 [5,] 23.7 23.9 7.6 268.5 $n [1] 73 73 73 73 $conf [,1] [,2] [,3] [,4] [1,] 17.44522 17.17125 1.023315 146.3245 [2,] 18.55478 18.42875 2.576685 175.8755 $out [1] 24.3 -7.5 -12.2 -14.5 -16.0 -16.7 -16.3 -16.9 $group [1] 1 3 3 3 3 3 3 3 $names [1] "Inv" "Uitv" "Ip" "Pig" > 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/216vy1261052255.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/3otif1261052255.tab") > > try(system("convert tmp/13cnc1261052255.ps tmp/13cnc1261052255.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.395 0.158 0.449