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(97.6,89.6,96.9,92.8,105.6,107.6,102.8,104.6,101.7,103,104.2,106.9,92.7,56.3,91.9,93.4,106.5,109.1,112.3,113.8,102.8,97.4,96.5,72.5,101,82.7,98.9,88.9,105.1,105.9,103,100.8,99,94,104.3,105,94.6,58.5,90.4,87.6,108.9,113.1,111.4,112.5,100.8,89.6,102.5,74.5,98.2,82.7,98.7,90.1,113.3,109.4,104.6,96,99.3,89.2,111.8,109.1,97.3,49.1,97.7,92.9,115.6,107.7,111.9,103.5,107,91.1,107.1,79.8,100.6,71.9,99.2,82.9,108.4,90.1,103,100.7,99.8,90.7,115,108.8,90.8,44.1,95.9,93.6,114.4,107.4,108.2,96.5,112.6,93.6,109.1,76.5,105,76.7,105,84,118.5,103.3,103.7,88.5,112.5,99,116.6,105.9,96.6,44.7,101.9,94,116.5,107.1,119.3,104.8,115.4,102.5,108.5,77.7,111.5,85.2,108.8,91.3,121.8,106.5,109.6,92.4,112.2,97.5,119.6,107,104.1,51.1,105.3,98.6,115,102.2,124.1,114.3,116.8,99.4,107.5,72.5,115.6,92.3),dim=c(2,73),dimnames=list(c('totinduszbouw','bouwn'),1:73)) > y <- array(NA,dim=c(2,73),dimnames=list(c('totinduszbouw','bouwn'),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/1ky2x1261038205.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,] 90.4 56.3 [2,] 99.8 85.2 [3,] 105.1 93.6 [4,] 112.2 104.8 [5,] 124.1 114.3 $n [1] 73 73 $conf [,1] [,2] [1,] 102.8069 89.97547 [2,] 107.3931 97.22453 $out [1] 49.1 44.1 44.7 51.1 $group [1] 2 2 2 2 $names [1] "totinduszbouw" "bouwn" > 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/2bn3t1261038205.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/38zm31261038205.tab") > > try(system("convert tmp/1ky2x1261038205.ps tmp/1ky2x1261038205.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.369 0.150 0.450