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(3.68 + ,2.97 + ,2.67 + ,1.74 + ,3.72 + ,3.04 + ,2.72 + ,1.75 + ,3.77 + ,3.12 + ,2.84 + ,1.83 + ,3.92 + ,3.21 + ,3 + ,2.09 + ,4.12 + ,3.34 + ,3.08 + ,2.12 + ,4.03 + ,3.45 + ,3.21 + ,2.29 + ,3.93 + ,3.74 + ,3.44 + ,2.4 + ,4.03 + ,4.02 + ,3.74 + ,2.82 + ,4.24 + ,4.24 + ,4.08 + ,3.18 + ,4.13 + ,4.87 + ,4.79 + ,4 + ,3.87 + ,5.62 + ,5.44 + ,4.8 + ,4.26 + ,6.02 + ,6.02 + ,5.28 + ,4.46 + ,5.98 + ,6.01 + ,5.37 + ,4.56 + ,5.89 + ,5.85 + ,5.27 + ,4.58 + ,5.76 + ,5.93 + ,5.33 + ,4.85 + ,5.58 + ,5.85 + ,5.23 + ,4.84 + ,5.39 + ,5.74 + ,5.08 + ,4.51 + ,5.19 + ,5.75 + ,5.11 + ,4.37 + ,5.16 + ,5.78 + ,5.1 + ,4.23 + ,5.2 + ,5.62 + ,4.97 + ,4.23 + ,5.25 + ,5.67 + ,5 + ,4.25 + ,5.26 + ,5.89 + ,5.2 + ,4.41 + ,5.21 + ,5.67 + ,4.9 + ,4.28 + ,5.18 + ,5.64 + ,4.82 + ,4.42 + ,5.13 + ,5.64 + ,5.04 + ,4.39 + ,5.03 + ,5.64 + ,4.82 + ,4.44 + ,5.01 + ,5.54 + ,4.77 + ,4.62 + ,4.87 + ,5.52 + ,4.79 + ,4.64 + ,4.86 + ,5.28 + ,4.58 + ,4.34 + ,4.82 + ,5.25 + ,4.59 + ,4.22 + ,4.69 + ,5.23 + ,4.57 + ,4.01 + ,4.65 + ,5.09 + ,4.35 + ,4.11 + ,4.61 + ,5 + ,4.27 + ,4.06 + ,4.47 + ,5.02 + ,4.39 + ,3.82 + ,4.37 + ,4.8 + ,3.97 + ,3.76 + ,4.29 + ,4.71 + ,3.84 + ,3.83 + ,4.2 + ,4.51 + ,3.73 + ,3.79 + ,4.19 + ,4.51 + ,3.58 + ,3.92 + ,4.09 + ,4.42 + ,3.45 + ,4.04 + ,3.88 + ,4.4 + ,3.44 + ,4.02 + ,3.87 + ,4.25 + ,3.25 + ,4.03 + ,3.74 + ,4.18 + ,3.25 + ,3.96 + ,3.61 + ,4.09 + ,3.02 + ,3.7 + ,3.43 + ,3.97 + ,2.87 + ,3.54 + ,3.29 + ,3.89 + ,2.92 + ,3.37 + ,3.18 + ,4.02 + ,2.95 + ,3.39 + ,3.07 + ,3.81 + ,2.75 + ,3.49 + ,3.02 + ,3.67 + ,2.7 + ,3.3 + ,2.97 + ,3.68 + ,2.75 + ,3.14 + ,2.98 + ,3.66 + ,2.72 + ,3.31 + ,3.01 + ,3.66 + ,2.71 + ,3.3 + ,3.06 + ,3.65 + ,2.76 + ,3.26 + ,3.12 + ,3.67 + ,2.68 + ,3.43 + ,3.16 + ,3.66 + ,2.78 + ,3.6 + ,3.19 + ,3.7 + ,2.86 + ,3.76 + ,3.21 + ,3.77 + ,2.75 + ,3.57 + ,3.27 + ,3.74 + ,2.87 + ,3.59 + ,3.36 + ,3.8 + ,2.91 + ,3.66 + ,3.45 + ,3.79 + ,2.79 + ,3.85 + ,3.52 + ,3.75 + ,2.77) + ,dim=c(4 + ,60) + ,dimnames=list(c('olo' + ,'hsh' + ,'venn<' + ,'venn>') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('olo','hsh','venn<','venn>'),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/1frvs1258122168.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,] 3.140 2.97 2.67 1.740 [2,] 3.690 3.24 3.72 2.765 [3,] 4.015 4.14 4.41 3.445 [4,] 4.270 5.08 5.58 4.810 [5,] 4.850 6.02 6.02 5.370 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 3.896693 3.764682 4.030603 3.027867 [2,] 4.133307 4.515318 4.789397 3.862133 $out numeric(0) $group numeric(0) $names [1] "olo" "hsh" "venn<" "venn>" > 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/2wbdt1258122168.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/3c4t71258122168.tab") > system("convert tmp/1frvs1258122168.ps tmp/1frvs1258122168.png") > > > proc.time() user system elapsed 0.390 0.158 0.450