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 + ,100 + ,100 + ,108 + ,109 + ,117 + ,111 + ,125 + ,173 + ,125 + ,132 + ,109 + ,91 + ,115 + ,108 + ,92 + ,124 + ,120 + ,105 + ,126 + ,130 + ,121 + ,125 + ,63 + ,82 + ,63 + ,66 + ,51 + ,82 + ,53 + ,56 + ,129 + ,196 + ,113 + ,134 + ,115 + ,116 + ,118 + ,116 + ,96 + ,146 + ,123 + ,111 + ,101 + ,102 + ,104 + ,102 + ,106 + ,153 + ,100 + ,111 + ,93 + ,119 + ,110 + ,102 + ,120 + ,153 + ,109 + ,122 + ,96 + ,137 + ,95 + ,101 + ,99 + ,147 + ,131 + ,115 + ,129 + ,152 + ,142 + ,136 + ,62 + ,84 + ,67 + ,67 + ,56 + ,76 + ,55 + ,59 + ,119 + ,161 + ,142 + ,131 + ,92 + ,129 + ,134 + ,110 + ,90 + ,104 + ,103 + ,96 + ,105 + ,144 + ,95 + ,108 + ,102 + ,171 + ,123 + ,118 + ,99 + ,140 + ,118 + ,110 + ,107 + ,120 + ,108 + ,109 + ,90 + ,130 + ,87 + ,95 + ,90 + ,247 + ,103 + ,116 + ,108 + ,154 + ,114 + ,117 + ,62 + ,38 + ,72 + ,62 + ,53 + ,57 + ,51 + ,53 + ,97 + ,172 + ,115 + ,113 + ,96 + ,163 + ,125 + ,114 + ,103 + ,130 + ,97 + ,105 + ,88 + ,163 + ,107 + ,104 + ,100 + ,110 + ,103 + ,102 + ,95 + ,133 + ,103 + ,103 + ,109 + ,156 + ,104 + ,115 + ,92 + ,157 + ,103 + ,104 + ,96 + ,127 + ,97 + ,101 + ,100 + ,167 + ,124 + ,117 + ,62 + ,89 + ,51 + ,63 + ,64 + ,53 + ,43 + ,55 + ,110 + ,187 + ,129 + ,126 + ,119 + ,202 + ,136 + ,136 + ,93 + ,137 + ,107 + ,104 + ,84 + ,151 + ,108 + ,100 + ,101 + ,128 + ,116 + ,109 + ,92 + ,140 + ,91 + ,98 + ,91 + ,203 + ,115 + ,114 + ,110 + ,160 + ,99 + ,114 + ,85 + ,161 + ,102 + ,100 + ,120 + ,210 + ,166 + ,146 + ,74 + ,154 + ,71 + ,85 + ,59 + ,70 + ,47 + ,57 + ,121 + ,269 + ,137 + ,146 + ,124 + ,176 + ,127 + ,132 + ,100 + ,156 + ,116 + ,113 + ,121 + ,210 + ,132 + ,137) + ,dim=c(4 + ,60) + ,dimnames=list(c('Faill_vlaamsg' + ,'Faill_brussel' + ,'Faill_waalsg' + ,'Faill_belgië') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('Faill_vlaamsg','Faill_brussel','Faill_waalsg','Faill_belgië'),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/1y7iq1258099801.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,] 62 53 63 85.0 [2,] 90 113 97 100.0 [3,] 99 142 108 109.0 [4,] 109 162 122 116.5 [5,] 129 210 142 137.0 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 95.12443 132.0051 102.9006 105.6344 [2,] 102.87557 151.9949 113.0994 112.3656 $out [1] 51 56 53 59 247 38 269 53 55 51 51 43 166 47 66 56 67 59 62 [20] 53 63 55 146 57 146 $group [1] 1 1 1 1 2 2 2 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 4 4 4 $names [1] "Faill_vlaamsg" "Faill_brussel" "Faill_waalsg" "Faill_belgi\353" > 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/2zhz11258099801.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/3o49g1258099801.tab") > > system("convert tmp/1y7iq1258099801.ps tmp/1y7iq1258099801.png") > > > proc.time() user system elapsed 0.412 0.173 0.514