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(30.3 + ,122.5 + ,19 + ,80.2 + ,29 + ,122.4 + ,18 + ,74.8 + ,30.3 + ,121.9 + ,19 + ,77.8 + ,32 + ,122.2 + ,19 + ,73 + ,30.3 + ,123.7 + ,22 + ,72 + ,28 + ,122.6 + ,23 + ,75.8 + ,27.7 + ,115.7 + ,20 + ,72.6 + ,27 + ,116.1 + ,14 + ,71.9 + ,28.7 + ,120.5 + ,14 + ,74.8 + ,29.7 + ,122.6 + ,14 + ,72.9 + ,23 + ,119.9 + ,15 + ,72.9 + ,28 + ,120.7 + ,11 + ,79.9 + ,32 + ,120.2 + ,17 + ,74 + ,27 + ,122.1 + ,16 + ,76 + ,27.7 + ,119.3 + ,20 + ,69.6 + ,30.7 + ,121.7 + ,24 + ,77.3 + ,33 + ,113.5 + ,23 + ,75.2 + ,34.3 + ,123.7 + ,20 + ,75.8 + ,26 + ,123.4 + ,21 + ,77.6 + ,30.3 + ,126.4 + ,19 + ,76.7 + ,37.7 + ,124.1 + ,23 + ,77 + ,36.3 + ,125.6 + ,23 + ,77.9 + ,36.3 + ,124.8 + ,23 + ,76.7 + ,36.7 + ,123 + ,23 + ,71.9 + ,33.7 + ,126.9 + ,27 + ,73.4 + ,33.7 + ,127.3 + ,26 + ,72.5 + ,32.7 + ,129 + ,17 + ,73.7 + ,37.3 + ,126.2 + ,24 + ,69.5 + ,37 + ,125.4 + ,26 + ,74.7 + ,37.3 + ,126.3 + ,24 + ,72.5 + ,41.7 + ,126.3 + ,27 + ,72.1 + ,40.7 + ,128.4 + ,27 + ,70.7 + ,38.7 + ,127.2 + ,26 + ,71.4 + ,38.3 + ,128.5 + ,24 + ,69.5 + ,38.3 + ,129 + ,23 + ,73.5 + ,36.7 + ,128.9 + ,23 + ,72.4 + ,37.3 + ,128.3 + ,24 + ,74.5 + ,36.7 + ,124.6 + ,17 + ,72.2 + ,36 + ,126.2 + ,21 + ,73 + ,33.3 + ,129.1 + ,19 + ,73.3 + ,28.7 + ,127.3 + ,22 + ,71.3 + ,33.7 + ,129.2 + ,22 + ,73.6 + ,31 + ,130.4 + ,18 + ,71.3 + ,29.3 + ,125.9 + ,16 + ,71.2 + ,27.3 + ,135.8 + ,14 + ,81.4 + ,30.3 + ,126.4 + ,12 + ,76.1 + ,16.7 + ,129.5 + ,14 + ,71.1 + ,14.7 + ,128.4 + ,16 + ,75.7 + ,13.3 + ,125.6 + ,8 + ,70 + ,12.3 + ,127.7 + ,3 + ,68.5 + ,10 + ,126.4 + ,0 + ,56.7 + ,1.7 + ,124.2 + ,5 + ,57.9 + ,2.3 + ,126.4 + ,1 + ,58.8 + ,2.7 + ,123.7 + ,1 + ,59.3 + ,0.4 + ,121.8 + ,3 + ,61.3 + ,6.1 + ,124 + ,6 + ,62.9 + ,7.1 + ,122.7 + ,7 + ,61.4 + ,11.4 + ,122.9 + ,8 + ,64.5 + ,11.4 + ,121 + ,14 + ,63.8 + ,8.2 + ,122.8 + ,14 + ,61.6 + ,11.9 + ,122.9 + ,13 + ,64.7) + ,dim=c(4 + ,61) + ,dimnames=list(c('handel' + ,'ntdzcg' + ,'indcvtr' + ,'dzcg ') + ,1:61)) > y <- array(NA,dim=c(4,61),dimnames=list(c('handel','ntdzcg','indcvtr','dzcg '),1:61)) > 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/16kcf1260616486.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,] 6.1 115.7 1 62.9 [2,] 23.0 122.5 14 70.0 [3,] 30.3 124.6 19 72.6 [4,] 36.0 127.2 23 75.2 [5,] 41.7 130.4 27 81.4 $n [1] 61 61 61 61 $conf [,1] [,2] [,3] [,4] [1,] 27.67012 123.6492 17.17932 71.54805 [2,] 32.92988 125.5508 20.82068 73.65195 $out [1] 1.7 2.3 2.7 0.4 113.5 135.8 0.0 56.7 57.9 58.8 59.3 61.3 [13] 61.4 61.6 $group [1] 1 1 1 1 2 2 3 4 4 4 4 4 4 4 $names [1] "handel" "ntdzcg" "indcvtr" "dzcg\r" Warning messages: 1: In axis(side = 1, at = 1:4, labels = c("handel", "ntdzcg", "indcvtr", : font width unknown for character 0xd 2: In axis(side = 1, at = 1:4, labels = c("handel", "ntdzcg", "indcvtr", : font width unknown for character 0xd > 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/2j94p1260616487.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/3j0j71260616487.tab") > > system("convert tmp/16kcf1260616486.ps tmp/16kcf1260616486.png") > > > proc.time() user system elapsed 0.381 0.155 0.479