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 + ,100 + ,97.56592292 + ,112.0967742 + ,93.71196755 + ,128.2258065 + ,92.69776876 + ,107.2580645 + ,89.65517241 + ,125.8064516 + ,89.04665314 + ,114.516129 + ,98.98580122 + ,109.6774194 + ,105.6795132 + ,98.38709677 + ,101.6227181 + ,128.2258065 + ,98.37728195 + ,133.0645161 + ,94.11764706 + ,127.4193548 + ,93.30628803 + ,116.1290323 + ,94.72616633 + ,120.9677419 + ,93.30628803 + ,120.1612903 + ,90.87221095 + ,135.483871 + ,89.85801217 + ,115.3225806 + ,88.43813387 + ,125 + ,87.42393509 + ,125.8064516 + ,98.17444219 + ,117.7419355 + ,103.4482759 + ,100.8064516 + ,104.0567951 + ,119.3548387 + ,102.0283976 + ,128.2258065 + ,95.53752535 + ,119.3548387 + ,95.53752535 + ,104.0322581 + ,96.55172414 + ,115.3225806 + ,96.34888438 + ,114.516129 + ,95.3346856 + ,128.2258065 + ,93.50912779 + ,123.3870968 + ,92.29208925 + ,125 + ,92.49492901 + ,121.7741935 + ,104.8681542 + ,120.9677419 + ,106.4908722 + ,97.58064516 + ,106.0851927 + ,127.4193548 + ,105.2738337 + ,136.2903226 + ,103.2454361 + ,113.7096774 + ,103.8539554 + ,110.483871 + ,105.2738337 + ,119.3548387 + ,104.8681542 + ,118.5483871 + ,103.4482759 + ,129.0322581 + ,103.2454361 + ,124.1935484 + ,101.6227181 + ,120.9677419 + ,102.8397566 + ,125 + ,115.4158215 + ,121.7741935 + ,117.6470588 + ,94.35483871 + ,117.2413793 + ,131.4516129 + ,114.6044625 + ,134.6774194 + ,110.9533469 + ,120.9677419 + ,112.5760649 + ,120.1612903 + ,113.9959432 + ,117.7419355 + ,113.7931034 + ,123.3870968 + ,112.5760649 + ,144.3548387 + ,110.3448276 + ,132.2580645 + ,108.9249493 + ,124.1935484 + ,110.1419878 + ,144.3548387 + ,120.4868154 + ,128.2258065 + ,123.9350913 + ,112.0967742 + ,124.3407708 + ,143.5483871 + ,123.9350913 + ,144.3548387 + ,120.4868154 + ,140.3225806 + ,120.6896552 + ,134.6774194 + ,119.8782961 + ,129.0322581 + ,119.4726166 + ,133.8709677 + ,118.4584178 + ,154.0322581 + ,116.2271805 + ,143.5483871 + ,115.010142 + ,138.7096774 + ,115.4158215 + ,150 + ,125.9634888 + ,131.4516129 + ,127.5862069 + ,121.7741935 + ,127.3833671 + ,154.8387097 + ,124.137931 + ,142.7419355 + ,120.6896552 + ,154.0322581 + ,121.0953347 + ,145.1612903 + ,120.2839757 + ,141.1290323 + ,119.6754564 + ,143.5483871 + ,117.6470588 + ,170.1612903 + ,116.4300203 + ,138.7096774 + ,116.2271805 + ,156.4516129 + ,116.2271805 + ,159.6774194 + ,125.7606491 + ,141.9354839 + ,126.9776876 + ,130.6451613 + ,125.7606491 + ,157.2580645 + ,119.2697769 + ,160.483871 + ,114.8073022 + ,161.2903226 + ,112.9817444 + ,139.516129 + ,113.7931034 + ,152.4193548 + ,111.3590264 + ,150 + ,107.9107505 + ,172.5806452 + ,106.693712 + ,150 + ,103.6511156 + ,159.6774194 + ,101.2170385 + ,167.7419355 + ,112.5760649 + ,158.0645161 + ,114.6044625 + ,142.7419355 + ,109.9391481 + ,159.6774194 + ,106.8965517 + ,179.0322581 + ,103.4482759 + ,166.9354839 + ,104.2596349 + ,144.3548387 + ,104.8681542 + ,168.5483871 + ,103.0425963 + ,170.9677419 + ,100 + ,172.5806452 + ,99.39148073 + ,185.483871 + ,95.13184584 + ,171.7741935 + ,96.95740365 + ,192.7419355 + ,107.0993915 + ,180.6451613 + ,108.31643 + ,147.5806452 + ,105.0709939 + ,183.8709677 + ,102.6369168 + ,179.8387097 + ,101.8255578 + ,143.5483871 + ,104.6653144 + ,132.2580645) + ,dim=c(2 + ,108) + ,dimnames=list(c('TW' + ,'TU') + ,1:108)) > y <- array(NA,dim=c(2,108),dimnames=list(c('TW','TU'),1:108)) > 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/1gkpx1260800697.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,] 87.42394 94.35484 [2,] 99.69574 120.96774 [3,] 105.88235 132.25806 [4,] 116.22718 150.00000 [5,] 127.58621 192.74194 $n [1] 108 108 $conf [,1] [,2] [1,] 103.3690 127.8441 [2,] 108.3957 136.6720 $out numeric(0) $group numeric(0) $names [1] "TW" "TU" > 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/2l04f1260800697.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/30rhi1260800697.tab") > > try(system("convert tmp/1gkpx1260800697.ps tmp/1gkpx1260800697.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.395 0.166 0.970