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(126.2 + ,111.2 + ,88.8 + ,95.1 + ,127.0 + ,116.7 + ,64.6 + ,97.0 + ,127.1 + ,114.8 + ,50.0 + ,112.7 + ,123.6 + ,100.0 + ,94.1 + ,102.9 + ,125.0 + ,98.8 + ,120.8 + ,97.4 + ,134.7 + ,106.3 + ,82.2 + ,111.4 + ,140.7 + ,119.5 + ,86.4 + ,87.4 + ,137.9 + ,120.7 + ,78.5 + ,96.8 + ,142.1 + ,121.1 + ,60.4 + ,114.1 + ,137.5 + ,112.4 + ,96.3 + ,110.3 + ,136.4 + ,108.2 + ,82.3 + ,103.9 + ,140.7 + ,113.6 + ,91.2 + ,101.6 + ,120.0 + ,106.7 + ,126.3 + ,94.6 + ,123.8 + ,114.3 + ,131.8 + ,95.9 + ,132.2 + ,117.3 + ,135.8 + ,104.7 + ,136.4 + ,109.6 + ,135.3 + ,102.8 + ,144.2 + ,109.9 + ,116.2 + ,98.1 + ,144.9 + ,112.5 + ,104.4 + ,113.9 + ,138.9 + ,116.1 + ,112.5 + ,80.9 + ,129.3 + ,112.0 + ,108.0 + ,95.7 + ,133.3 + ,113.3 + ,94.0 + ,113.2 + ,137.5 + ,107.9 + ,83.2 + ,105.9 + ,140.0 + ,108.2 + ,82.9 + ,108.8 + ,146.3 + ,114.8 + ,116.1 + ,102.3 + ,124.6 + ,105.6 + ,146.9 + ,99.0 + ,130.2 + ,111.9 + ,122.1 + ,100.7 + ,139.0 + ,113.6 + ,74.8 + ,115.5 + ,149.1 + ,108.4 + ,96.1 + ,100.7 + ,151.9 + ,111.1 + ,101.4 + ,109.9 + ,149.0 + ,112.5 + ,68.0 + ,114.6 + ,127.8 + ,112.6 + ,57.3 + ,85.4 + ,113.8 + ,108.7 + ,56.6 + ,100.5 + ,117.5 + ,108.9 + ,36.3 + ,114.8 + ,123.2 + ,104.5 + ,40.7 + ,116.5 + ,127.3 + ,105.9 + ,48.1 + ,112.9 + ,131.5 + ,111.1 + ,65.9 + ,102.0 + ,110.8 + ,102.2 + ,92.7 + ,106.0 + ,112.7 + ,108.3 + ,90.8 + ,105.3 + ,116.9 + ,112.3 + ,80.5 + ,118.8 + ,127.3 + ,110.8 + ,87.3 + ,106.1 + ,130.8 + ,108.6 + ,59.3 + ,109.3 + ,130.6 + ,103.8 + ,46.9 + ,117.2 + ,124.1 + ,96.6 + ,49.1 + ,92.5 + ,113.8 + ,88.0 + ,38.9 + ,104.2 + ,112.3 + ,85.6 + ,44.9 + ,112.5 + ,112.5 + ,88.8 + ,75.4 + ,122.4 + ,112.7 + ,92.9 + ,94.8 + ,113.3 + ,120.4 + ,98.8 + ,124.1 + ,100.0 + ,104.6 + ,88.8 + ,193.3 + ,110.7 + ,107.9 + ,90.5 + ,186.7 + ,112.8 + ,108.5 + ,87.7 + ,194.2 + ,109.8 + ,110.9 + ,81.9 + ,203.4 + ,117.3 + ,111.5 + ,80.2 + ,241.2 + ,109.1 + ,124.5 + ,86.3 + ,210.9 + ,115.9 + ,133.3 + ,94.3 + ,211.8 + ,96.0 + ,125.9 + ,94.6 + ,187.2 + ,99.8 + ,121.1 + ,92.2 + ,162.5 + ,116.8 + ,108.9 + ,88.8 + ,158.9 + ,115.7 + ,105.5 + ,88.2 + ,101.3 + ,99.4 + ,114.8 + ,96.3 + ,105.6 + ,94.3) + ,dim=c(4 + ,60) + ,dimnames=list(c('WLMan' + ,'WLVrouw' + ,'Infl' + ,'Prod') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('WLMan','WLVrouw','Infl','Prod'),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/1he6v1258118762.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,] 104.60 80.20 36.30 80.90 [2,] 115.85 95.45 71.40 99.20 [3,] 127.05 108.25 94.05 105.60 [4,] 136.95 112.45 125.20 113.05 [5,] 151.90 121.10 203.40 122.40 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 122.7461 104.7824 83.07603 102.7749 [2,] 131.3539 111.7176 105.02397 108.4251 $out [1] 241.2 210.9 211.8 $group [1] 3 3 3 $names [1] "WLMan" "WLVrouw" "Infl" "Prod" > 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/2vvz71258118762.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/32zlv1258118762.tab") > > system("convert tmp/1he6v1258118762.ps tmp/1he6v1258118762.png") > > > proc.time() user system elapsed 0.386 0.176 0.466