R version 2.6.0 (2007-10-03) Copyright (C) 2007 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(90.8 + ,467.037 + ,96.4 + ,460.070 + ,90 + ,447.988 + ,92.1 + ,442.867 + ,97.2 + ,436.087 + ,95.1 + ,431.328 + ,88.5 + ,484.015 + ,91 + ,509.673 + ,90.5 + ,512.927 + ,75 + ,502.831 + ,66.3 + ,470.984 + ,66 + ,471.067 + ,68.4 + ,476.049 + ,70.6 + ,474.605 + ,83.9 + ,470.439 + ,90.1 + ,461.251 + ,90.6 + ,454.724 + ,87.1 + ,455.626 + ,90.8 + ,516.847 + ,94.1 + ,525.192 + ,99.8 + ,522.975 + ,96.8 + ,518.585 + ,87 + ,509.239 + ,96.3 + ,512.238 + ,107.1 + ,519.164 + ,115.2 + ,517.009 + ,106.1 + ,509.933 + ,89.5 + ,509.127 + ,91.3 + ,500.857 + ,97.6 + ,506.971 + ,100.7 + ,569.323 + ,104.6 + ,579.714 + ,94.7 + ,577.992 + ,101.8 + ,565.464 + ,102.5 + ,547.344 + ,105.3 + ,554.788 + ,110.3 + ,562.325 + ,109.8 + ,560.854 + ,117.3 + ,555.332 + ,118.8 + ,543.599 + ,131.3 + ,536.662 + ,125.9 + ,542.722 + ,133.1 + ,593.530 + ,147 + ,610.763 + ,145.8 + ,612.613 + ,164.4 + ,611.324 + ,149.8 + ,594.167 + ,137.7 + ,595.454 + ,151.7 + ,590.865 + ,156.8 + ,589.379 + ,180 + ,584.428 + ,180.4 + ,573.100 + ,170.4 + ,567.456 + ,191.6 + ,569.028 + ,199.5 + ,620.735 + ,218.2 + ,628.884 + ,217.5 + ,628.232 + ,205 + ,612.117 + ,194 + ,595.404 + ,199.3 + ,597.141 + ,219.3 + ,593.408 + ,211.1 + ,590.072 + ,215.2 + ,579.799 + ,240.2 + ,574.205 + ,242.2 + ,572.775 + ,240.7 + ,572.942 + ,255.4 + ,619.567 + ,253 + ,625.809 + ,218.2 + ,619.916 + ,203.7 + ,587.625 + ,205.6 + ,565.742 + ,215.6 + ,557.274) + ,dim=c(2 + ,72) + ,dimnames=list(c('RA' + ,'WH') + ,1:72)) > y <- array(NA,dim=c(2,72),dimnames=list(c('RA','WH'),1:72)) > 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: Wessa P., (2007), Notched Boxplots (v1.0.4) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_notchedbox1.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description > z <- as.data.frame(t(y)) > postscript(file="/var/www/html/rcomp/tmp/173591196194787.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] [1,] 66.00 431.3280 [2,] 91.70 508.0490 [3,] 110.05 556.3030 [4,] 192.80 589.7255 [5,] 255.40 628.8840 $n [1] 72 72 $conf [,1] [,2] [1,] 91.2247 541.0944 [2,] 128.8753 571.5116 $out numeric(0) $group numeric(0) $names [1] "RA" "WH" Warning message: In bxp(list(stats = c(66, 91.7, 110.05, 192.8, 255.4, 431.328, 508.049, : some notches went outside hinges ('box'): maybe set notch=FALSE > dev.off() null device 1 > 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/27fax1196194787.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/3m3221196194787.tab") > > system("convert tmp/173591196194787.ps tmp/173591196194787.png") > > > proc.time() user system elapsed 0.613 0.162 0.684