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(98.71 + ,153.4 + ,-6 + ,98.54 + ,145 + ,-7 + ,98.2 + ,137.7 + ,-6 + ,96.92 + ,148.3 + ,-6 + ,99.06 + ,152.2 + ,-3 + ,99.65 + ,169.4 + ,-2 + ,99.82 + ,168.6 + ,-5 + ,99.99 + ,161.1 + ,-11 + ,100.33 + ,174.1 + ,-11 + ,99.31 + ,179 + ,-11 + ,101.1 + ,190.6 + ,-10 + ,101.1 + ,190 + ,-14 + ,100.93 + ,181.6 + ,-8 + ,100.85 + ,174.8 + ,-9 + ,100.93 + ,180.5 + ,-5 + ,99.6 + ,196.8 + ,-1 + ,101.88 + ,193.8 + ,-2 + ,101.81 + ,197 + ,-5 + ,102.38 + ,216.3 + ,-4 + ,102.74 + ,221.4 + ,-6 + ,102.82 + ,217.9 + ,-2 + ,101.72 + ,229.7 + ,-2 + ,103.47 + ,227.4 + ,-2 + ,102.98 + ,204.2 + ,-2 + ,102.68 + ,196.6 + ,2 + ,102.9 + ,198.8 + ,1 + ,103.03 + ,207.5 + ,-8 + ,101.29 + ,190.7 + ,-1 + ,103.69 + ,201.6 + ,1 + ,103.68 + ,210.5 + ,-1 + ,104.2 + ,223.5 + ,2 + ,104.08 + ,223.8 + ,2 + ,104.16 + ,231.2 + ,1 + ,103.05 + ,244 + ,-1 + ,104.66 + ,234.7 + ,-2 + ,104.46 + ,250.2 + ,-2 + ,104.95 + ,265.7 + ,-1 + ,105.85 + ,287.6 + ,-8 + ,106.23 + ,283.3 + ,-4 + ,104.86 + ,295.4 + ,-6 + ,107.44 + ,312.3 + ,-3 + ,108.23 + ,333.8 + ,-3 + ,108.45 + ,347.7 + ,-7 + ,109.39 + ,383.2 + ,-9 + ,110.15 + ,407.1 + ,-11 + ,109.13 + ,413.6 + ,-13 + ,110.28 + ,362.7 + ,-11 + ,110.17 + ,321.9 + ,-9 + ,109.99 + ,239.4 + ,-17 + ,109.26 + ,191 + ,-22 + ,109.11 + ,159.7 + ,-25 + ,107.06 + ,163.4 + ,-20 + ,109.53 + ,157.6 + ,-24 + ,108.92 + ,166.2 + ,-24 + ,109.24 + ,176.7 + ,-22 + ,109.12 + ,198.3 + ,-19 + ,109 + ,226.2 + ,-18 + ,107.23 + ,216.2 + ,-17 + ,109.49 + ,235.9 + ,-11 + ,109.04 + ,226.9 + ,-11) + ,dim=c(3 + ,60) + ,dimnames=list(c('cpr' + ,'grst' + ,'cvert') + ,1:60)) > y <- array(NA,dim=c(3,60),dimnames=list(c('cpr','grst','cvert'),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/1hwos1258117333.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] [1,] 96.920 137.70 -24 [2,] 101.100 177.85 -11 [3,] 103.685 205.85 -6 [4,] 108.685 237.65 -2 [5,] 110.280 321.90 2 $n [1] 60 60 60 $conf [,1] [,2] [,3] [1,] 102.1378 193.6522 -7.835794 [2,] 105.2322 218.0478 -4.164206 $out [1] 333.8 347.7 383.2 407.1 413.6 362.7 -25.0 $group [1] 2 2 2 2 2 2 3 $names [1] "cpr" "grst" "cvert" > 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/2nvbm1258117333.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/3pnnt1258117333.tab") > > system("convert tmp/1hwos1258117333.ps tmp/1hwos1258117333.png") > > > proc.time() user system elapsed 0.379 0.153 0.846