R version 2.7.0 (2008-04-22) 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(93.0 + ,72.5 + ,95.9 + ,99.3 + ,99.2 + ,72.0 + ,95.3 + ,98.7 + ,112.2 + ,98.8 + ,100.4 + ,107.9 + ,112.1 + ,75.2 + ,97.3 + ,101.0 + ,103.3 + ,81.2 + ,82.3 + ,97.6 + ,108.2 + ,88.0 + ,97.0 + ,103.0 + ,90.4 + ,54.6 + ,93.5 + ,94.1 + ,72.8 + ,68.6 + ,90.9 + ,94.1 + ,111.0 + ,101.5 + ,107.8 + ,115.1 + ,117.9 + ,93.4 + ,110.9 + ,116.5 + ,111.3 + ,84.5 + ,98.1 + ,103.4 + ,110.5 + ,91.4 + ,106.5 + ,112.5 + ,94.8 + ,64.5 + ,93.4 + ,95.6 + ,100.4 + ,64.5 + ,95.7 + ,97.5 + ,132.1 + ,117.3 + ,109.0 + ,119.3 + ,114.6 + ,73.5 + ,97.6 + ,100.9 + ,101.9 + ,79.7 + ,92.7 + ,97.7 + ,130.2 + ,102.6 + ,107.5 + ,115.3 + ,84.0 + ,57.9 + ,91.7 + ,92.8 + ,86.4 + ,73.1 + ,95.7 + ,99.2 + ,122.3 + ,102.4 + ,111.4 + ,118.7 + ,120.9 + ,82.3 + ,106.0 + ,110.1 + ,110.2 + ,89.1 + ,104.8 + ,110.3 + ,112.6 + ,84.7 + ,108.7 + ,112.9 + ,102.0 + ,81.4 + ,97.3 + ,102.2 + ,105.0 + ,67.5 + ,97.1 + ,99.4 + ,130.5 + ,113.9 + ,106.1 + ,116.1 + ,115.5 + ,83.8 + ,98.6 + ,103.8 + ,103.7 + ,73.9 + ,98.5 + ,101.8 + ,130.9 + ,103.9 + ,105.5 + ,113.7 + ,89.1 + ,67.9 + ,86.2 + ,89.7 + ,93.8 + ,62.5 + ,98.3 + ,99.5 + ,123.8 + ,125.4 + ,111.3 + ,122.9 + ,111.9 + ,79.1 + ,105.0 + ,108.6 + ,118.3 + ,106.3 + ,105.7 + ,114.4 + ,116.9 + ,96.2 + ,103.5 + ,110.5 + ,103.6 + ,94.3 + ,96.9 + ,104.1 + ,116.6 + ,85.6 + ,98.1 + ,103.6 + ,141.3 + ,117.4 + ,111.7 + ,121.6 + ,107.0 + ,88.5 + ,94.7 + ,101.1 + ,125.2 + ,124.2 + ,104.2 + ,116.0 + ,136.4 + ,119.3 + ,109.7 + ,120.1 + ,91.6 + ,76.8 + ,91.3 + ,96.0 + ,95.3 + ,70.6 + ,102.6 + ,105.0 + ,132.3 + ,122.1 + ,114.2 + ,124.7 + ,130.6 + ,109.5 + ,115.8 + ,123.9 + ,131.9 + ,119.9 + ,113.5 + ,123.6 + ,118.6 + ,102.3 + ,107.1 + ,114.8 + ,114.3 + ,79.6 + ,104.5 + ,108.8 + ,111.3 + ,78.2 + ,101.9 + ,106.1 + ,126.5 + ,103.6 + ,116.0 + ,123.2 + ,112.1 + ,77.8 + ,102.0 + ,106.2 + ,119.3 + ,99.1 + ,108.1 + ,115.2 + ,142.4 + ,105.7 + ,112.9 + ,120.6 + ,101.1 + ,84.1 + ,104.5 + ,109.5 + ,97.4 + ,88.7 + ,109.1 + ,114.4 + ,129.1 + ,108.0 + ,113.4 + ,121.4 + ,136.9 + ,98.1 + ,123.9 + ,129.5 + ,129.8 + ,101.0 + ,117.7 + ,124.3 + ,123.9 + ,82.0 + ,108.3 + ,112.6) + ,dim=c(4 + ,60) + ,dimnames=list(c('INV' + ,'DC' + ,'NDC' + ,'CON') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('INV','DC','NDC','CON'),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/15zuh1229531706.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,] 72.80 54.6 82.30 89.70 [2,] 101.95 76.0 97.05 100.95 [3,] 112.15 86.8 104.35 109.15 [4,] 124.55 102.5 108.85 116.05 [5,] 142.40 125.4 123.90 129.50 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 107.5401 81.3946 101.9431 106.0699 [2,] 116.7599 92.2054 106.7569 112.2301 $out numeric(0) $group numeric(0) $names [1] "INV" "DC" "NDC" "CON" > 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/2odl21229531706.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/36clk1229531706.tab") > > system("convert tmp/15zuh1229531706.ps tmp/15zuh1229531706.png") > > > proc.time() user system elapsed 1.152 0.245 1.211