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(578 + ,-7 + ,100.80 + ,242.3 + ,565 + ,-6 + ,101.33 + ,226.9 + ,547 + ,-6 + ,101.88 + ,235.9 + ,555 + ,-3 + ,101.85 + ,216.2 + ,562 + ,-2 + ,102.04 + ,226.2 + ,561 + ,-5 + ,102.22 + ,198.3 + ,555 + ,-11 + ,102.63 + ,176.7 + ,544 + ,-11 + ,102.65 + ,166.2 + ,537 + ,-11 + ,102.54 + ,157.6 + ,543 + ,-10 + ,102.37 + ,163.4 + ,594 + ,-14 + ,102.68 + ,159.7 + ,611 + ,-8 + ,102.76 + ,191 + ,613 + ,-9 + ,102.82 + ,239.4 + ,611 + ,-5 + ,103.31 + ,321.9 + ,594 + ,-1 + ,103.23 + ,362.7 + ,595 + ,-2 + ,103.60 + ,413.6 + ,591 + ,-5 + ,103.95 + ,407.1 + ,589 + ,-4 + ,103.93 + ,383.2 + ,584 + ,-6 + ,104.25 + ,347.7 + ,573 + ,-2 + ,104.38 + ,333.8 + ,567 + ,-2 + ,104.36 + ,312.3 + ,569 + ,-2 + ,104.32 + ,295.4 + ,621 + ,-2 + ,104.58 + ,283.3 + ,629 + ,2 + ,104.68 + ,287.6 + ,628 + ,1 + ,104.92 + ,265.7 + ,612 + ,-8 + ,105.46 + ,250.2 + ,595 + ,-1 + ,105.23 + ,234.7 + ,597 + ,1 + ,105.58 + ,244 + ,593 + ,-1 + ,105.34 + ,231.2 + ,590 + ,2 + ,105.28 + ,223.8 + ,580 + ,2 + ,105.70 + ,223.5 + ,574 + ,1 + ,105.67 + ,210.5 + ,573 + ,-1 + ,105.71 + ,201.6 + ,573 + ,-2 + ,106.19 + ,190.7 + ,620 + ,-2 + ,106.93 + ,207.5 + ,626 + ,-1 + ,107.44 + ,198.8 + ,620 + ,-8 + ,107.85 + ,196.6 + ,588 + ,-4 + ,108.71 + ,204.2 + ,566 + ,-6 + ,109.32 + ,227.4 + ,557 + ,-3 + ,109.49 + ,229.7 + ,561 + ,-3 + ,110.20 + ,217.9 + ,549 + ,-7 + ,110.62 + ,221.4 + ,532 + ,-9 + ,111.22 + ,216.3 + ,526 + ,-11 + ,110.88 + ,197 + ,511 + ,-13 + ,111.15 + ,193.8 + ,499 + ,-11 + ,111.29 + ,196.8 + ,555 + ,-9 + ,111.09 + ,180.5 + ,565 + ,-17 + ,111.24 + ,174.8 + ,542 + ,-22 + ,111.45 + ,181.6 + ,527 + ,-25 + ,111.75 + ,190 + ,510 + ,-20 + ,111.07 + ,190.6 + ,514 + ,-24 + ,111.17 + ,179 + ,517 + ,-24 + ,110.96 + ,174.1 + ,508 + ,-22 + ,110.50 + ,161.1 + ,493 + ,-19 + ,110.48 + ,168.6 + ,490 + ,-18 + ,110.66 + ,169.4 + ,469 + ,-17 + ,110.46 + ,152.2) + ,dim=c(4 + ,57) + ,dimnames=list(c('awt' + ,'icv' + ,'icp' + ,'ipg ') + ,1:57)) > y <- array(NA,dim=c(4,57),dimnames=list(c('awt','icv','icp','ipg '),1:57)) > 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/1av511257588267.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,] 469 -24 100.80 152.2 [2,] 543 -11 103.31 190.0 [3,] 567 -6 105.46 216.2 [4,] 594 -2 110.48 242.3 [5,] 629 2 111.75 312.3 $n [1] 57 57 57 57 $conf [,1] [,2] [,3] [,4] [1,] 556.3269 -7.883485 103.9595 205.2549 [2,] 577.6731 -4.116515 106.9605 227.1451 $out [1] -25.0 321.9 362.7 413.6 407.1 383.2 347.7 333.8 $group [1] 2 4 4 4 4 4 4 4 $names [1] "awt" "icv" "icp" "ipg\r" Warning messages: 1: In axis(side = 1, at = 1:4, labels = c("awt", "icv", "icp", "ipg\r" : font width unknown for character 0xd 2: In axis(side = 1, at = 1:4, labels = c("awt", "icv", "icp", "ipg\r" : 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/27iv21257588267.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/387qz1257588267.tab") > > system("convert tmp/1av511257588267.ps tmp/1av511257588267.png") > > > proc.time() user system elapsed 0.387 0.179 4.984