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(91.2 + ,111.4 + ,131.2 + ,125.3 + ,80.8 + ,87.4 + ,97.7 + ,114.3 + ,72.3 + ,96.8 + ,88.8 + ,115.6 + ,99.7 + ,114.1 + ,132.8 + ,127.1 + ,90.1 + ,110.3 + ,113.9 + ,123 + ,83.1 + ,103.9 + ,112.6 + ,122.2 + ,71.9 + ,101.6 + ,104.3 + ,126.4 + ,78.6 + ,94.6 + ,107.5 + ,112.7 + ,87.2 + ,95.9 + ,106 + ,105.8 + ,90.6 + ,104.7 + ,117.3 + ,120.9 + ,80 + ,102.8 + ,123.1 + ,116.3 + ,73.1 + ,98.1 + ,114.3 + ,115.7 + ,85.6 + ,113.9 + ,132 + ,127.9 + ,73.8 + ,80.9 + ,92.3 + ,108.3 + ,70.6 + ,95.7 + ,93.7 + ,121.1 + ,91.8 + ,113.2 + ,121.3 + ,128.6 + ,81.3 + ,105.9 + ,113.6 + ,123.1 + ,85.2 + ,108.8 + ,116.3 + ,127.7 + ,69.6 + ,102.3 + ,98.3 + ,126.6 + ,83.3 + ,99 + ,111.9 + ,118.4 + ,89.8 + ,100.7 + ,109.3 + ,110 + ,99.5 + ,115.5 + ,133.2 + ,129.6 + ,78.9 + ,100.7 + ,118 + ,115.8 + ,83.8 + ,109.9 + ,131.6 + ,125.9 + ,92 + ,114.6 + ,134.1 + ,128.4 + ,80.9 + ,85.4 + ,96.7 + ,114 + ,74.6 + ,100.5 + ,99.8 + ,125.6 + ,97.9 + ,114.8 + ,128.3 + ,128.5 + ,88.3 + ,116.5 + ,134.9 + ,136.6 + ,88.1 + ,112.9 + ,130.7 + ,133.1 + ,66.4 + ,102 + ,107.3 + ,124.6 + ,92.3 + ,106 + ,121.6 + ,123.5 + ,95.6 + ,105.3 + ,120.6 + ,117.2 + ,99.7 + ,118.8 + ,140.5 + ,135.5 + ,78.9 + ,106.1 + ,124.8 + ,124.8 + ,79.4 + ,109.3 + ,129.9 + ,127.8 + ,87.8 + ,117.2 + ,159.4 + ,133.1 + ,80.5 + ,92.5 + ,111 + ,125.7 + ,71.8 + ,104.2 + ,110.1 + ,128.4 + ,89.2 + ,112.5 + ,132.7 + ,131.9 + ,96.4 + ,122.4 + ,135 + ,146.3 + ,83.5 + ,113.3 + ,118.6 + ,140.6 + ,64.3 + ,100 + ,94 + ,129.5 + ,85.9 + ,110.7 + ,117.9 + ,132.4 + ,89.2 + ,112.8 + ,114.7 + ,125.9 + ,81.8 + ,109.8 + ,113.6 + ,126.9 + ,79.5 + ,117.3 + ,130.6 + ,135.8 + ,68.7 + ,109.1 + ,117.1 + ,129.5 + ,76.4 + ,115.9 + ,123.2 + ,130.2 + ,73.6 + ,96 + ,106.1 + ,133.8 + ,57.7 + ,99.8 + ,88.7 + ,123.3 + ,78.3 + ,116.8 + ,115.5 + ,140.7 + ,75.5 + ,115.7 + ,116 + ,145.9 + ,62.4 + ,99.4 + ,96.7 + ,128.5 + ,55.6 + ,94.3 + ,82 + ,135.9 + ,62.9 + ,91 + ,92 + ,120.2 + ,66.7 + ,93.2 + ,89.7 + ,119.2 + ,66.8 + ,103.1 + ,99.1 + ,132.5 + ,59.9 + ,94.1 + ,98.9 + ,130.5 + ,52 + ,91.8 + ,88.6 + ,124.8 + ,61.2 + ,102.7 + ,105.5 + ,136.7) + ,dim=c(4 + ,61) + ,dimnames=list(c('bikl' + ,'biti' + ,'bih' + ,'biv') + ,1:61)) > y <- array(NA,dim=c(4,61),dimnames=list(c('bikl','biti','bih','biv'),1:61)) > 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/1ra091258020961.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,] 52.0 80.9 82.0 108.3 [2,] 71.9 99.0 99.8 121.1 [3,] 80.5 104.7 114.3 126.6 [4,] 88.3 112.9 124.8 130.5 [5,] 99.7 122.4 159.4 140.7 $n [1] 61 61 61 61 $conf [,1] [,2] [,3] [,4] [1,] 77.18231 101.8881 109.2425 124.6984 [2,] 83.81769 107.5119 119.3575 128.5016 $out [1] 105.8 146.3 145.9 $group [1] 4 4 4 $names [1] "bikl" "biti" "bih" "biv" > 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/24nep1258020961.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/3stk31258020961.tab") > > system("convert tmp/1ra091258020961.ps tmp/1ra091258020961.png") > > > proc.time() user system elapsed 0.585 0.224 0.685