R version 2.8.0 (2008-10-20) Copyright (C) 2008 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(131.6 + ,128.6 + ,150.85 + ,126.51 + ,132.05 + ,128.9 + ,147.79 + ,131.02 + ,132.4 + ,129.06 + ,141.96 + ,136.51 + ,132.57 + ,129.23 + ,148.39 + ,138.04 + ,133.02 + ,129.27 + ,147.71 + ,132.92 + ,133.47 + ,129.33 + ,150.6 + ,129.61 + ,133.66 + ,129.35 + ,151.18 + ,122.96 + ,133.96 + ,129.31 + ,152.24 + ,124.04 + ,134.19 + ,129.4 + ,157.19 + ,121.29 + ,134.93 + ,129.49 + ,154.62 + ,124.56 + ,134.9 + ,129.47 + ,157.22 + ,118.53 + ,135.05 + ,129.46 + ,159.7 + ,113.14 + ,135.16 + ,129.45 + ,160.55 + ,114.15 + ,135.23 + ,129.28 + ,149.66 + ,122.17 + ,135.15 + ,129.2 + ,151.69 + ,129.23 + ,135.12 + ,129.25 + ,154.13 + ,131.19 + ,137.29 + ,129.14 + ,151.48 + ,129.12 + ,137.41 + ,129.11 + ,153.34 + ,128.28 + ,137.44 + ,129.02 + ,155.8 + ,126.83 + ,137.62 + ,129.08 + ,158.87 + ,138.13 + ,137.78 + ,128.99 + ,156.09 + ,140.52 + ,137.98 + ,129.11 + ,156.3 + ,146.83 + ,138.06 + ,129.08 + ,156.4 + ,135.14 + ,138.16 + ,129.19 + ,154.09 + ,131.84 + ,138.28 + ,129.23 + ,161.32 + ,125.7 + ,138.33 + ,129.25 + ,160.12 + ,128.98 + ,138.43 + ,129.31 + ,155.17 + ,133.25 + ,138.44 + ,129.33 + ,154.51 + ,136.76 + ,138.41 + ,129.39 + ,151.38 + ,133.24 + ,138.55 + ,129.55 + ,152.59 + ,128.54 + ,138.64 + ,129.43 + ,153.98 + ,121.08 + ,138.72 + ,129.45 + ,154.91 + ,120.23 + ,138.9 + ,129.57 + ,153.01 + ,119.08 + ,139.02 + ,129.76 + ,155.09 + ,125.75 + ,139.04 + ,129.92 + ,155.53 + ,126.89 + ,139.15 + ,130.08 + ,161.86 + ,126.6 + ,139.3 + ,130.41 + ,166.03 + ,121.89 + ,140.73 + ,130.84 + ,164.54 + ,123.44 + ,141.84 + ,131.24 + ,164.33 + ,126.46 + ,141.95 + ,131.49 + ,163.21 + ,129.49 + ,142.1 + ,131.74 + ,159.95 + ,127.78 + ,142.36 + ,132.34 + ,164.18 + ,125.29 + ,142.58 + ,133.5 + ,167.13 + ,119.02 + ,142.75 + ,134.43 + ,166.8 + ,119.96 + ,142.85 + ,136.5 + ,166.29 + ,122.86 + ,143.03 + ,137.41 + ,168.07 + ,131.89 + ,143.19 + ,138.02 + ,167.1 + ,132.73 + ,143.62 + ,138.15 + ,163.53 + ,135.01 + ,143.89 + ,138.24 + ,168.28 + ,136.71 + ,144.69 + ,138.2 + ,169.07 + ,142.73 + ,147.51 + ,138.31 + ,165.84 + ,144.43 + ,147.78 + ,138.65 + ,163.88 + ,144.93 + ,148.04 + ,139.3 + ,157.33 + ,138.75 + ,148.21 + ,139.8 + ,161 + ,130.22 + ,148.29 + ,140.52 + ,163.54 + ,122.19 + ,148.34 + ,141.57 + ,161.21 + ,128.4 + ,148.33 + ,141.77 + ,158.92 + ,140.43 + ,148.38 + ,141.66 + ,160.18 + ,153.5 + ,148.37 + ,141.36 + ,159.9 + ,149.33 + ,148.37 + ,141.17 + ,164.46 + ,142.97) + ,dim=c(4 + ,60) + ,dimnames=list(c('ICBG' + ,'ICV' + ,'ICVSW' + ,'ICVGF ') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('ICBG','ICV','ICVSW','ICVGF '),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/freestat/rcomp/tmp/1nttl1257513209.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,] 131.600 128.600 141.960 113.140 [2,] 135.195 129.250 153.660 123.740 [3,] 138.595 129.480 157.275 129.050 [4,] 142.940 136.955 163.535 135.825 [5,] 148.380 141.770 169.070 153.500 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 137.0152 127.9084 155.2607 126.5849 [2,] 140.1748 131.0516 159.2893 131.5151 $out numeric(0) $group numeric(0) $names [1] "ICBG" "ICV" "ICVSW" "ICVGF\r" Warning messages: 1: In bxp(list(stats = c(131.6, 135.195, 138.595, 142.94, 148.38, 128.6, : some notches went outside hinges ('box'): maybe set notch=FALSE 2: In axis(side = 1, at = 1:4, labels = c("ICBG", "ICV", "ICVSW", "ICVGF\r" : font width unknown for character 0xd 3: In axis(side = 1, at = 1:4, labels = c("ICBG", "ICV", "ICVSW", "ICVGF\r" : font width unknown for character 0xd > dev.off() null device 1 > > #Note: the /var/www/html/freestat/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/freestat/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/freestat/rcomp/tmp/26zvm1257513209.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/freestat/rcomp/tmp/34wjb1257513209.tab") > > system("convert tmp/1nttl1257513209.ps tmp/1nttl1257513209.png") > > > proc.time() user system elapsed 0.585 0.231 0.663