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(94.3 + ,85 + ,164.7 + ,160 + ,99.4 + ,96.1 + ,173.5 + ,171.4 + ,115.7 + ,113.6 + ,190.6 + ,192 + ,116.8 + ,116.8 + ,230.8 + ,231.2 + ,99.8 + ,102.7 + ,248.4 + ,250.8 + ,96 + ,106.8 + ,268 + ,268.4 + ,115.9 + ,124.2 + ,267.9 + ,266.9 + ,109.1 + ,117.8 + ,263.2 + ,268.5 + ,117.3 + ,121.6 + ,263.2 + ,268.2 + ,109.8 + ,117.9 + ,262.7 + ,265.3 + ,112.8 + ,111.4 + ,253 + ,253.8 + ,110.7 + ,109.8 + ,238.5 + ,243.4 + ,100 + ,92.6 + ,213.1 + ,213.6 + ,113.3 + ,104.9 + ,213.3 + ,221 + ,122.4 + ,120.3 + ,216.2 + ,227.3 + ,112.5 + ,109.1 + ,210.8 + ,221.6 + ,104.2 + ,93.1 + ,206.2 + ,222.1 + ,92.5 + ,87.3 + ,213.2 + ,232.2 + ,117.2 + ,106.9 + ,211 + ,229.6 + ,109.3 + ,102.1 + ,214.7 + ,238.9 + ,106.1 + ,102.4 + ,213.2 + ,238.2 + ,118.8 + ,113.3 + ,204.7 + ,223.9 + ,105.3 + ,100.6 + ,198.7 + ,215 + ,106 + ,103.5 + ,194.5 + ,211.1 + ,102 + ,93.7 + ,193.8 + ,210.6 + ,112.9 + ,102.6 + ,189.9 + ,206.6 + ,116.5 + ,108.1 + ,187 + ,207 + ,114.8 + ,105.9 + ,180.9 + ,201.7 + ,100.5 + ,87.1 + ,183 + ,204.5 + ,85.4 + ,81.8 + ,184.4 + ,204.5 + ,114.6 + ,103.8 + ,176.7 + ,195.1 + ,109.9 + ,95.8 + ,185.1 + ,205.5 + ,100.7 + ,92.7 + ,171.8 + ,187.5 + ,115.5 + ,101.1 + ,161.7 + ,173.5 + ,100.7 + ,88 + ,161.6 + ,172.3 + ,99 + ,92.8 + ,157.7 + ,167.5 + ,102.3 + ,89.7 + ,148.3 + ,157.5 + ,108.8 + ,95.6 + ,142.3 + ,151.1 + ,105.9 + ,95.2 + ,140.4 + ,148.5 + ,113.2 + ,96.9 + ,139.6 + ,147.9 + ,95.7 + ,79.2 + ,139.3 + ,145.6 + ,80.9 + ,73.5 + ,137.1 + ,139.8 + ,113.9 + ,99.7 + ,137 + ,138.9 + ,98.1 + ,87.8 + ,137.7 + ,141.4 + ,102.8 + ,91.3 + ,142.4 + ,148.7 + ,104.7 + ,93.9 + ,145.4 + ,150.9 + ,95.9 + ,90 + ,139 + ,147.3 + ,94.6 + ,89.8 + ,135.7 + ,144.5 + ,101.6 + ,88.9 + ,128.7 + ,134 + ,103.9 + ,104.2 + ,128.2 + ,135.1 + ,110.3 + ,110.8 + ,124.4 + ,131.4 + ,114.1 + ,110.5 + ,123.2 + ,128.4 + ,96.8 + ,87.1 + ,123.3 + ,127.6 + ,87.4 + ,89.2 + ,126.7 + ,127.4 + ,111.4 + ,96.5 + ,127.3 + ,124 + ,97.4 + ,95.4 + ,128.4 + ,123.5 + ,102.9 + ,101 + ,132.6 + ,128 + ,112.7 + ,107.6 + ,133.5 + ,129.9 + ,97 + ,93.8 + ,128.8 + ,127.6 + ,95.1 + ,93.8 + ,124 + ,121.8) + ,dim=c(4 + ,60) + ,dimnames=list(c('TIA' + ,'IAidM' + ,'APiGEE' + ,'PiIG') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('TIA','IAidM','APiGEE','PiIG'),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/freestat/rcomp/tmp/17evi1257790855.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,] 80.90 73.50 123.20 121.80 [2,] 99.20 91.95 137.40 142.95 [3,] 105.60 98.30 175.10 189.75 [4,] 113.05 107.25 212.05 223.00 [5,] 122.40 124.20 268.00 268.50 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 102.7749 95.17915 159.8731 173.4216 [2,] 108.4251 101.42085 190.3269 206.0784 $out numeric(0) $group numeric(0) $names [1] "TIA" "IAidM" "APiGEE" "PiIG" > dev.off() null device 1 > > #Note: the /var/www/html/freestat/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/freestat/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/freestat/rcomp/tmp/27c541257790855.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/freestat/rcomp/tmp/39u7v1257790855.tab") > > system("convert tmp/17evi1257790855.ps tmp/17evi1257790855.png") > > > proc.time() user system elapsed 0.572 0.231 0.644