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(100.00,100.00,111.86,96.67,94.12,91.06,67.79,89.04,146.04,82.91,125.66,84.05,142.87,91.76,130.03,90.10,110.01,85.98,132.79,99.82,88.24,70.90,91.97,83.87,96.65,99.21,97.15,92.81,90.73,95.35,52.53,89.66,156.91,86.77,144.88,88.26,169.43,101.23,133.38,88.26,131.28,96.32,116.33,100.44,89.15,74.85,85.08,88.08,89.39,100.61,103.09,102.10,85.35,98.95,45.99,89.40,152.82,92.90,130.37,92.29,150.50,104.12,126.97,92.99,123.24,95.79,126.57,102.72,100.26,81.07,91.76,91.32,100.28,98.60,121.65,107.27,97.29,99.30,62.55,87.64,154.99,97.02,147.85,98.86,147.40,96.23,156.80,102.80,126.81,95.62,131.76,101.58,99.21,84.14,87.35,87.47,100.76,102.37,110.57,101.40,76.46,87.12,56.51,82.65,124.95,79.75,118.29,81.68,136.43,90.36,128.62,82.47,100.74,80.46,111.75,90.01,93.43,72.39,83.33,78.09),dim=c(2,60),dimnames=list(c('INW','TIP'),1:60)) > y <- array(NA,dim=c(2,60),dimnames=list(c('INW','TIP'),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/1ej5d1260967049.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,] 45.990 70.900 [2,] 91.865 86.375 [3,] 111.160 91.540 [4,] 131.520 99.080 [5,] 169.430 107.270 $n [1] 60 60 $conf [,1] [,2] [1,] 103.0713 88.94847 [2,] 119.2487 94.13153 $out numeric(0) $group numeric(0) $names [1] "INW" "TIP" > 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/2je3i1260967049.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/3nbuw1260967049.tab") > > try(system("convert tmp/1ej5d1260967049.ps tmp/1ej5d1260967049.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.370 0.154 0.449