R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-bit) 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(0.072 + ,0.0213 + ,0.073 + ,0.0218 + ,0.073 + ,0.0290 + ,0.073 + ,0.0263 + ,0.074 + ,0.0267 + ,0.073 + ,0.0181 + ,0.074 + ,0.0133 + ,0.074 + ,0.0088 + ,0.076 + ,0.0128 + ,0.076 + ,0.0126 + ,0.077 + ,0.0126 + ,0.077 + ,0.0129 + ,0.078 + ,0.0110 + ,0.078 + ,0.0137 + ,0.080 + ,0.0121 + ,0.081 + ,0.0174 + ,0.081 + ,0.0176 + ,0.082 + ,0.0148 + ,0.081 + ,0.0104 + ,0.081 + ,0.0162 + ,0.081 + ,0.0149 + ,0.080 + ,0.0179 + ,0.082 + ,0.0180 + ,0.084 + ,0.0158 + ,0.084 + ,0.0186 + ,0.085 + ,0.0174 + ,0.086 + ,0.0159 + ,0.085 + ,0.0126 + ,0.083 + ,0.0113 + ,0.078 + ,0.0192 + ,0.078 + ,0.0261 + ,0.080 + ,0.0226 + ,0.086 + ,0.0241 + ,0.089 + ,0.0226 + ,0.089 + ,0.0203 + ,0.086 + ,0.0286 + ,0.083 + ,0.0255 + ,0.083 + ,0.0227 + ,0.083 + ,0.0226 + ,0.084 + ,0.0257 + ,0.085 + ,0.0307 + ,0.084 + ,0.0276 + ,0.086 + ,0.0251 + ,0.085 + ,0.0287 + ,0.085 + ,0.0314 + ,0.085 + ,0.0311 + ,0.085 + ,0.0316 + ,0.085 + ,0.0247 + ,0.085 + ,0.0257 + ,0.085 + ,0.0289 + ,0.085 + ,0.0263 + ,0.086 + ,0.0238 + ,0.086 + ,0.0169 + ,0.086 + ,0.0196 + ,0.086 + ,0.0219 + ,0.084 + ,0.0187 + ,0.080 + ,0.0160 + ,0.079 + ,0.0163 + ,0.080 + ,0.0122 + ,0.080 + ,0.0121 + ,0.080 + ,0.0149 + ,0.080 + ,0.0164 + ,0.079 + ,0.0166 + ,0.079 + ,0.0177 + ,0.079 + ,0.0182 + ,0.080 + ,0.0178 + ,0.079 + ,0.0128 + ,0.075 + ,0.0129 + ,0.072 + ,0.0137 + ,0.070 + ,0.0112 + ,0.069 + ,0.0151 + ,0.071 + ,0.0224 + ,0.071 + ,0.0294 + ,0.072 + ,0.0309 + ,0.071 + ,0.0346 + ,0.069 + ,0.0364 + ,0.068 + ,0.0439 + ,0.067 + ,0.0415 + ,0.067 + ,0.0521 + ,0.069 + ,0.0580 + ,0.073 + ,0.0591 + ,0.074 + ,0.0539 + ,0.073 + ,0.0546 + ,0.071 + ,0.0472 + ,0.070 + ,0.0314 + ,0.071 + ,0.0263 + ,0.075 + ,0.0232 + ,0.077 + ,0.0193 + ,0.078 + ,0.0062 + ,0.077 + ,0.0060 + ,0.077 + ,-0.0037 + ,0.078 + ,-0.0110 + ,0.080 + ,-0.0168 + ,0.081 + ,-0.0078 + ,0.081 + ,-0.0119 + ,0.080 + ,-0.0097 + ,0.081 + ,-0.0012 + ,0.082 + ,0.0026 + ,0.083 + ,0.0062 + ,0.084 + ,0.0070 + ,0.085 + ,0.0166 + ,0.085 + ,0.0180 + ,0.085 + ,0.0227 + ,0.085 + ,0.0246 + ,0.085 + ,0.0257 + ,0.083 + ,0.0232 + ,0.082 + ,0.0291 + ,0.081 + ,0.0301 + ,0.079 + ,0.0286 + ,0.076 + ,0.0310 + ,0.073 + ,0.0322 + ,0.071 + ,0.0339 + ,0.070 + ,0.0352 + ,0.070 + ,0.0341 + ,0.070 + ,0.0335 + ,0.070 + ,0.0367 + ,0.069 + ,0.0375 + ,0.068 + ,0.0360 + ,0.067 + ,0.0355 + ,0.066 + ,0.0357) + ,dim=c(2 + ,120) + ,dimnames=list(c('Werkloosheidsgraad' + ,'Inflatie') + ,1:120)) > y <- array(NA,dim=c(2,120),dimnames=list(c('Werkloosheidsgraad','Inflatie'),1:120)) > 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/wessaorg/rcomp/tmp/1oc6h1324414751.ps",horizontal=F,onefile=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,] 0.066 -0.00780 [2,] 0.073 0.01425 [3,] 0.080 0.02155 [4,] 0.084 0.02905 [5,] 0.089 0.04720 $n [1] 120 120 $conf [,1] [,2] [1,] 0.07841343 0.01941534 [2,] 0.08158657 0.02368466 $out [1] 0.0521 0.0580 0.0591 0.0539 0.0546 -0.0110 -0.0168 -0.0119 -0.0097 $group [1] 2 2 2 2 2 2 2 2 2 $names [1] "Werkloosheidsgraad" "Inflatie" > dev.off() null device 1 > > #Note: the /var/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/wessaorg/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/wessaorg/rcomp/tmp/2nwya1324414751.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/wessaorg/rcomp/tmp/3mm4t1324414751.tab") > > try(system("convert tmp/1oc6h1324414751.ps tmp/1oc6h1324414751.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.521 0.109 0.620