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(103.63 + ,107.47 + ,103.34 + ,100.30 + ,103.64 + ,107.99 + ,103.38 + ,98.50 + ,103.66 + ,108.36 + ,103.64 + ,95.10 + ,103.77 + ,108.61 + ,104.04 + ,93.10 + ,103.88 + ,108.80 + ,104.11 + ,92.20 + ,103.91 + ,109.05 + ,104.11 + ,89.00 + ,103.91 + ,109.12 + ,104.11 + ,86.40 + ,103.92 + ,109.28 + ,104.17 + ,84.50 + ,104.05 + ,110.00 + ,105.16 + ,82.70 + ,104.23 + ,110.78 + ,105.86 + ,80.80 + ,104.30 + ,110.84 + ,106.11 + ,81.80 + ,104.31 + ,110.83 + ,106.11 + ,81.80 + ,104.31 + ,111.38 + ,106.11 + ,82.90 + ,104.34 + ,112.78 + ,106.13 + ,83.80 + ,104.55 + ,113.56 + ,106.67 + ,86.20 + ,104.65 + ,113.60 + ,106.85 + ,86.10 + ,104.73 + ,113.72 + ,106.97 + ,86.20 + ,104.75 + ,113.73 + ,107.02 + ,88.80 + ,104.75 + ,113.82 + ,107.02 + ,89.60 + ,104.76 + ,113.85 + ,107.07 + ,87.80 + ,104.94 + ,113.96 + ,107.76 + ,88.30 + ,105.29 + ,114.24 + ,108.10 + ,88.60 + ,105.38 + ,114.36 + ,108.18 + ,91.00 + ,105.43 + ,114.44 + ,108.22 + ,91.50 + ,105.43 + ,114.91 + ,108.22 + ,95.40 + ,105.42 + ,115.76 + ,108.17 + ,98.70 + ,105.52 + ,115.91 + ,108.31 + ,99.90 + ,105.69 + ,116.01 + ,108.31 + ,98.60 + ,105.72 + ,116.01 + ,108.36 + ,100.30 + ,105.74 + ,116.15 + ,108.46 + ,100.20 + ,105.74 + ,116.17 + ,108.46 + ,100.40 + ,105.74 + ,116.20 + ,108.46 + ,101.40 + ,105.95 + ,116.32 + ,109.43 + ,103.00 + ,106.17 + ,116.68 + ,109.55 + ,109.10 + ,106.34 + ,116.74 + ,109.62 + ,111.40 + ,106.37 + ,116.86 + ,109.70 + ,114.10 + ,106.37 + ,117.57 + ,109.70 + ,121.80 + ,106.36 + ,118.07 + ,109.56 + ,127.60 + ,106.44 + ,118.56 + ,109.92 + ,129.90 + ,106.29 + ,118.70 + ,109.81 + ,128.00 + ,106.23 + ,118.76 + ,109.78 + ,123.50 + ,106.23 + ,118.88 + ,109.80 + ,124.00 + ,106.23 + ,118.98 + ,109.80 + ,127.40 + ,106.23 + ,119.30 + ,109.79 + ,127.60 + ,106.34 + ,118.95 + ,110.40 + ,128.40 + ,106.44 + ,119.06 + ,110.95 + ,131.40 + ,106.44 + ,119.34 + ,111.07 + ,135.10 + ,106.48 + ,119.37 + ,111.09 + ,134.00 + ,106.50 + ,119.60 + ,111.10 + ,144.50 + ,106.57 + ,120.14 + ,111.01 + ,147.30 + ,106.40 + ,121.25 + ,111.01 + ,150.90 + ,106.37 + ,121.61 + ,111.35 + ,148.70 + ,106.25 + ,122.01 + ,111.42 + ,141.40 + ,106.21 + ,121.77 + ,111.24 + ,138.90 + ,106.21 + ,122.26 + ,111.24 + ,139.80 + ,106.24 + ,122.13 + ,111.47 + ,145.60 + ,106.19 + ,122.11 + ,111.57 + ,147.90 + ,106.08 + ,122.40 + ,111.96 + ,148.50 + ,106.13 + ,122.59 + ,112.02 + ,151.10 + ,106.09 + ,122.67 + ,112.02 + ,157.50) + ,dim=c(4 + ,60) + ,dimnames=list(c('KLA' + ,'STO' + ,'SCH' + ,'TOTPR') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('KLA','STO','SCH','TOTPR'),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/1c2od1257335664.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,] 103.630 107.47 103.340 80.80 [2,] 104.600 113.58 106.760 88.90 [3,] 105.740 116.16 108.460 100.35 [4,] 106.245 119.18 110.675 130.65 [5,] 106.570 122.67 112.020 157.50 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 105.4045 115.0177 107.6614 91.83396 [2,] 106.0755 117.3023 109.2586 108.86604 $out numeric(0) $group numeric(0) $names [1] "KLA" "STO" "SCH" "TOTPR" > 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/2sdsj1257335664.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/3gr5s1257335664.tab") > > system("convert tmp/1c2od1257335664.ps tmp/1c2od1257335664.png") > > > proc.time() user system elapsed 0.549 0.235 0.671