R version 2.8.1 (2008-12-22) 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(103.8 + ,122.5 + ,80.2 + ,19 + ,103.5 + ,122.4 + ,74.8 + ,18 + ,104.1 + ,121.9 + ,77.8 + ,19 + ,101.9 + ,122.2 + ,73 + ,19 + ,102 + ,123.7 + ,72 + ,22 + ,100.7 + ,122.6 + ,75.8 + ,23 + ,99 + ,115.7 + ,72.6 + ,20 + ,96.5 + ,116.1 + ,71.9 + ,14 + ,101.8 + ,120.5 + ,74.8 + ,14 + ,100.5 + ,122.6 + ,72.9 + ,14 + ,103.3 + ,119.9 + ,72.9 + ,15 + ,102.3 + ,120.7 + ,79.9 + ,11 + ,100.4 + ,120.2 + ,74 + ,17 + ,103 + ,122.1 + ,76 + ,16 + ,99 + ,119.3 + ,69.6 + ,20 + ,104.8 + ,121.7 + ,77.3 + ,24 + ,104.5 + ,113.5 + ,75.2 + ,23 + ,104.8 + ,123.7 + ,75.8 + ,20 + ,103.8 + ,123.4 + ,77.6 + ,21 + ,106.3 + ,126.4 + ,76.7 + ,19 + ,105.2 + ,124.1 + ,77 + ,23 + ,108.2 + ,125.6 + ,77.9 + ,23 + ,106.2 + ,124.8 + ,76.7 + ,23 + ,103.9 + ,123 + ,71.9 + ,23 + ,104.9 + ,126.9 + ,73.4 + ,27 + ,106.2 + ,127.3 + ,72.5 + ,26 + ,107.9 + ,129 + ,73.7 + ,17 + ,106.9 + ,126.2 + ,69.5 + ,24 + ,110.3 + ,125.4 + ,74.7 + ,26 + ,109.8 + ,126.3 + ,72.5 + ,24 + ,108.3 + ,126.3 + ,72.1 + ,27 + ,110.9 + ,128.4 + ,70.7 + ,27 + ,109.8 + ,127.2 + ,71.4 + ,26 + ,109.3 + ,128.5 + ,69.5 + ,24 + ,109 + ,129 + ,73.5 + ,23 + ,107.9 + ,128.9 + ,72.4 + ,23 + ,108.4 + ,128.3 + ,74.5 + ,24 + ,107.2 + ,124.6 + ,72.2 + ,17 + ,109.5 + ,126.2 + ,73 + ,21 + ,109.9 + ,129.1 + ,73.3 + ,19 + ,108 + ,127.3 + ,71.3 + ,22 + ,114.7 + ,129.2 + ,73.6 + ,22 + ,115.6 + ,130.4 + ,71.3 + ,18 + ,107.6 + ,125.9 + ,71.2 + ,16 + ,115.9 + ,135.8 + ,81.4 + ,14 + ,111.8 + ,126.4 + ,76.1 + ,12 + ,110 + ,129.5 + ,71.1 + ,14 + ,109.2 + ,128.4 + ,75.7 + ,16 + ,108 + ,125.6 + ,70 + ,8 + ,105.6 + ,127.7 + ,68.5 + ,3 + ,103 + ,126.4 + ,56.7 + ,0 + ,99.6 + ,124.2 + ,57.9 + ,5 + ,97.9 + ,126.4 + ,58.8 + ,1 + ,97.6 + ,123.7 + ,59.3 + ,1 + ,96.2 + ,121.8 + ,61.3 + ,3 + ,97.9 + ,124 + ,62.9 + ,6 + ,94.5 + ,122.7 + ,61.4 + ,7 + ,95.4 + ,122.9 + ,64.5 + ,8 + ,94.4 + ,121 + ,63.8 + ,14 + ,96.3 + ,122.8 + ,61.6 + ,14 + ,95.1 + ,122.9 + ,64.7 + ,13) + ,dim=c(4 + ,61) + ,dimnames=list(c('totip' + ,'ntdzc' + ,'drzc' + ,'cindex ') + ,1:61)) > y <- array(NA,dim=c(4,61),dimnames=list(c('totip','ntdzc','drzc','cindex '),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/rcomp/tmp/1yxm41257931993.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,] 94.4 115.7 62.9 1 [2,] 100.7 122.5 70.0 14 [3,] 104.8 124.6 72.6 19 [4,] 108.3 127.2 75.2 23 [5,] 115.9 130.4 81.4 27 $n [1] 61 61 61 61 $conf [,1] [,2] [,3] [,4] [1,] 103.2625 123.6492 71.54805 17.17932 [2,] 106.3375 125.5508 73.65195 20.82068 $out [1] 113.5 135.8 56.7 57.9 58.8 59.3 61.3 61.4 61.6 0.0 $group [1] 2 2 3 3 3 3 3 3 3 4 $names [1] "totip" "ntdzc" "drzc" "cindex\r" Warning messages: 1: In axis(side = 1, at = 1:4, labels = c("totip", "ntdzc", "drzc", : font width unknown for character 0xd 2: In axis(side = 1, at = 1:4, labels = c("totip", "ntdzc", "drzc", : font width unknown for character 0xd > dev.off() null device 1 > > #Note: the /var/www/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/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/rcomp/tmp/2eiqy1257931993.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/rcomp/tmp/3zsjh1257931994.tab") > > system("convert tmp/1yxm41257931993.ps tmp/1yxm41257931993.png") > > > proc.time() user system elapsed 0.410 0.280 0.667