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(111.8 + ,142 + ,129.5 + ,100.9 + ,109 + ,103.7 + ,102.1 + ,120.7 + ,114.2 + ,118 + ,159.6 + ,123.5 + ,110.6 + ,142.4 + ,111.3 + ,115.1 + ,145.1 + ,126.5 + ,114.8 + ,148.9 + ,119.6 + ,110.1 + ,136.9 + ,116.5 + ,110.8 + ,119.9 + ,116.7 + ,95.6 + ,133.9 + ,119.4 + ,108.1 + ,131 + ,124 + ,116 + ,133.2 + ,130.6 + ,111.2 + ,135 + ,120.1 + ,98.2 + ,99.1 + ,113.2 + ,97.6 + ,110.8 + ,111.1 + ,113.3 + ,152.3 + ,126 + ,107 + ,131.9 + ,115.8 + ,107.9 + ,127.9 + ,111 + ,117.5 + ,142 + ,128.7 + ,105.4 + ,118.7 + ,112.6 + ,104.2 + ,116.3 + ,114.7 + ,98 + ,125.7 + ,118.5 + ,106.7 + ,122.7 + ,124.8 + ,113.4 + ,125.3 + ,128.6 + ,111.7 + ,123.2 + ,127 + ,94.2 + ,88.8 + ,111.8 + ,92.5 + ,94.9 + ,100.6 + ,109.8 + ,136.8 + ,122.9 + ,105.1 + ,128.7 + ,117.8 + ,104.4 + ,110.8 + ,108.1 + ,111.1 + ,132.8 + ,129.6 + ,98.7 + ,112 + ,111.4 + ,100.5 + ,104.5 + ,110 + ,93.7 + ,112 + ,115.2 + ,103.2 + ,110.6 + ,118.8 + ,104.1 + ,107.2 + ,116.2 + ,106.9 + ,116.2 + ,126.3 + ,89.2 + ,85.7 + ,106.7 + ,88.7 + ,94.2 + ,96.5 + ,110.7 + ,127.2 + ,119.1 + ,98.8 + ,108.9 + ,109.6 + ,102.5 + ,111.9 + ,110.3 + ,101.8 + ,126.3 + ,118.8 + ,96 + ,105.9 + ,104.5 + ,98.3 + ,101.3 + ,107.7 + ,94 + ,105.5 + ,127.7 + ,105.1 + ,106.3 + ,118.5 + ,114 + ,117.3 + ,120.1 + ,115.5 + ,110.9 + ,127.4 + ,94.3 + ,85.4 + ,107.8 + ,100.8 + ,81.9 + ,106.5 + ,111.2 + ,121.5 + ,124.6 + ,103.4 + ,106.3 + ,101.9 + ,106.7 + ,111.8 + ,106.5 + ,112.2 + ,122.8 + ,119.4 + ,100.7 + ,101.8 + ,103.3 + ,99 + ,92.2 + ,99.6 + ,91.5 + ,106.3 + ,120.9 + ,102.7 + ,103 + ,111.7 + ,111.4 + ,97.7 + ,123.9) + ,dim=c(3 + ,60) + ,dimnames=list(c('Interm' + ,'Invest' + ,'Consumptie') + ,1:60)) > y <- array(NA,dim=c(3,60),dimnames=list(c('Interm','Invest','Consumptie'),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/1l8g21229335215.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] [1,] 88.70 81.90 96.50 [2,] 98.75 106.10 110.15 [3,] 104.75 116.25 116.60 [4,] 111.15 129.85 123.70 [5,] 118.00 159.60 130.60 $n [1] 60 60 60 $conf [,1] [,2] [,3] [1,] 102.2207 111.4055 113.8361 [2,] 107.2793 121.0945 119.3639 $out numeric(0) $group numeric(0) $names [1] "Interm" "Invest" "Consumptie" > 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/237m61229335215.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/3t3v01229335215.tab") > > system("convert tmp/1l8g21229335215.ps tmp/1l8g21229335215.png") > > > proc.time() user system elapsed 0.386 0.171 0.464