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(2.67,1.74,3.2,2.72,1.75,1.9,2.84,1.83,0,3,2.09,0.6,3.08,2.12,0.2,3.21,2.29,0.9,3.44,2.4,2.4,3.74,2.82,4.7,4.08,3.18,9.4,4.79,4,12.5,5.44,4.8,15.8,6.02,5.28,18.2,6.01,5.37,16.8,5.85,5.27,17.3,5.93,5.33,19.3,5.85,5.23,17.9,5.74,5.08,20.2,5.75,5.11,18.7,5.78,5.1,20.1,5.62,4.97,18.2,5.67,5,18.4,5.89,5.2,18.2,5.67,4.9,18.9,5.64,4.82,19.9,5.64,5.04,21.3,5.64,4.82,20,5.54,4.77,19.5,5.52,4.79,19.6,5.28,4.58,20.9,5.25,4.59,21,5.23,4.57,19.9,5.09,4.35,19.6,5,4.27,20.9,5.02,4.39,21.7,4.8,3.97,22.9,4.71,3.84,21.5,4.51,3.73,21.3,4.51,3.58,23.5,4.42,3.45,21.6,4.4,3.44,24.5,4.25,3.25,22.2,4.18,3.25,23.5,4.09,3.02,20.9,3.97,2.87,20.7,3.89,2.92,18.1,4.02,2.95,17.1,3.81,2.75,14.8,3.67,2.7,13.8,3.68,2.75,15.2,3.66,2.72,16,3.66,2.71,17.6,3.65,2.76,15,3.67,2.68,15,3.66,2.78,16.3,3.7,2.86,19.4,3.77,2.75,21.3,3.74,2.87,20.5,3.8,2.91,21.1,3.79,2.79,21.6,3.75,2.77,22.6),dim=c(3,60),dimnames=list(c('venn<','venn>','ip'),1:60)) > y <- array(NA,dim=c(3,60),dimnames=list(c('venn<','venn>','ip'),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/1vjuq1258129334.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,] 2.67 1.740 9.40 [2,] 3.72 2.765 15.50 [3,] 4.41 3.445 19.10 [4,] 5.58 4.810 20.95 [5,] 6.02 5.370 24.50 $n [1] 60 60 60 $conf [,1] [,2] [,3] [1,] 4.030603 3.027867 17.98832 [2,] 4.789397 3.862133 20.21168 $out [1] 3.2 1.9 0.0 0.6 0.2 0.9 2.4 4.7 $group [1] 3 3 3 3 3 3 3 3 $names [1] "venn<" "venn>" "ip" > 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/2bguo1258129334.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/3dib01258129334.tab") > system("convert tmp/1vjuq1258129334.ps tmp/1vjuq1258129334.png") > > > proc.time() user system elapsed 0.371 0.148 0.432