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(84 + ,122.2 + ,83.4 + ,108.8 + ,78 + ,122.6 + ,113.6 + ,128.4 + ,74 + ,122.2 + ,112.9 + ,121.1 + ,75 + ,118.8 + ,104 + ,119.5 + ,79 + ,119 + ,109.9 + ,128.7 + ,79 + ,118.2 + ,99 + ,108.7 + ,82 + ,117.8 + ,106.3 + ,105.5 + ,88 + ,116.8 + ,128.9 + ,119.8 + ,81 + ,114.6 + ,111.1 + ,111.3 + ,69 + ,113.4 + ,102.9 + ,110.6 + ,62 + ,113.8 + ,130 + ,120.1 + ,62 + ,124.2 + ,87 + ,97.5 + ,68 + ,125.8 + ,87.5 + ,107.7 + ,57 + ,125.6 + ,117.6 + ,127.3 + ,67 + ,122.4 + ,103.4 + ,117.2 + ,72 + ,119 + ,110.8 + ,119.8 + ,75 + ,119.4 + ,112.6 + ,116.2 + ,81 + ,118.6 + ,102.5 + ,111 + ,80 + ,118 + ,112.4 + ,112.4 + ,79 + ,116 + ,135.6 + ,130.6 + ,81 + ,114.8 + ,105.1 + ,109.1 + ,83 + ,114.6 + ,127.7 + ,118.8 + ,84 + ,114.6 + ,137 + ,123.9 + ,90 + ,124 + ,91 + ,101.6 + ,84 + ,125.2 + ,90.5 + ,112.8 + ,90 + ,124 + ,122.4 + ,128 + ,92 + ,117.6 + ,123.3 + ,129.6 + ,93 + ,113.2 + ,124.3 + ,125.8 + ,85 + ,111.4 + ,120 + ,119.5 + ,93 + ,112.2 + ,118.1 + ,115.7 + ,94 + ,109.8 + ,119 + ,113.6 + ,94 + ,106.4 + ,142.7 + ,129.7 + ,102 + ,105.2 + ,123.6 + ,112 + ,96 + ,102.2 + ,129.6 + ,116.8 + ,96 + ,99.8 + ,151.6 + ,127 + ,92 + ,111 + ,110.4 + ,112.1 + ,90 + ,113 + ,99.2 + ,114.2 + ,84 + ,108.4 + ,130.5 + ,121.1 + ,86 + ,105.4 + ,136.2 + ,131.6 + ,70 + ,102 + ,129.7 + ,125 + ,67 + ,102.8 + ,128 + ,120.4 + ,60 + ,103.4 + ,121.6 + ,117.7 + ,62 + ,101.6 + ,135.8 + ,117.5 + ,61 + ,98.6 + ,143.8 + ,120.6 + ,54 + ,98 + ,147.5 + ,127.5 + ,50 + ,93.8 + ,136.2 + ,112.3 + ,45 + ,95.6 + ,156.6 + ,124.5 + ,34 + ,105.6 + ,123.3 + ,115.2 + ,37 + ,106.8 + ,104.5 + ,104.7 + ,44 + ,103.6 + ,139.8 + ,130.9 + ,34 + ,101.2 + ,136.5 + ,129.2 + ,37 + ,100.4 + ,112.1 + ,113.5 + ,31 + ,103.2 + ,118.5 + ,125.6 + ,31 + ,105.6 + ,94.4 + ,107.6 + ,28 + ,106.6 + ,102.3 + ,107 + ,31 + ,107.2 + ,111.4 + ,121.6 + ,33 + ,107.4 + ,99.2 + ,110.7 + ,36 + ,104.8 + ,87.8 + ,106.3 + ,39 + ,107.2 + ,115.8 + ,118.6 + ,42 + ,117.4 + ,79.7 + ,104.6) + ,dim=c(4 + ,60) + ,dimnames=list(c('consvert' + ,'werkl' + ,'investg' + ,'consg') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('consvert','werkl','investg','consg'),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/1ne1p1260371375.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,] 28.0 93.8 79.70 97.50 [2,] 52.0 105.0 103.70 111.15 [3,] 75.0 112.6 116.70 117.60 [4,] 84.5 118.4 129.65 124.75 [5,] 102.0 125.8 156.60 131.60 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 68.37074 109.8667 111.4068 114.8259 [2,] 81.62926 115.3333 121.9932 120.3741 $out numeric(0) $group numeric(0) $names [1] "consvert" "werkl" "investg" "consg" > 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/2b4gh1260371375.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/35zfu1260371375.tab") > > system("convert tmp/1ne1p1260371375.ps tmp/1ne1p1260371375.png") > > > proc.time() user system elapsed 0.393 0.162 1.098