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(130 + ,461 + ,14.1 + ,2 + ,127 + ,463 + ,14.8 + ,2.3 + ,122 + ,462 + ,16.8 + ,2.8 + ,117 + ,456 + ,15.4 + ,2.4 + ,112 + ,455 + ,15.2 + ,2.3 + ,113 + ,456 + ,16.9 + ,2.7 + ,149 + ,472 + ,14.1 + ,2.7 + ,157 + ,472 + ,14.7 + ,2.9 + ,157 + ,471 + ,16.5 + ,3 + ,147 + ,465 + ,15.2 + ,2.2 + ,137 + ,459 + ,17.6 + ,2.3 + ,132 + ,465 + ,18 + ,2.8 + ,125 + ,468 + ,16.9 + ,2.8 + ,123 + ,467 + ,16.7 + ,2.8 + ,117 + ,463 + ,19.7 + ,2.2 + ,114 + ,460 + ,15.9 + ,2.6 + ,111 + ,462 + ,17.4 + ,2.8 + ,112 + ,461 + ,17.7 + ,2.5 + ,144 + ,476 + ,15.2 + ,2.4 + ,150 + ,476 + ,15.7 + ,2.3 + ,149 + ,471 + ,17.2 + ,1.9 + ,134 + ,453 + ,17.7 + ,1.7 + ,123 + ,443 + ,17.9 + ,2 + ,116 + ,442 + ,16.2 + ,2.1 + ,117 + ,444 + ,17.5 + ,1.7 + ,111 + ,438 + ,16.8 + ,1.8 + ,105 + ,427 + ,19.1 + ,1.8 + ,102 + ,424 + ,16.7 + ,1.8 + ,95 + ,416 + ,18.2 + ,1.3 + ,93 + ,406 + ,18.5 + ,1.3 + ,124 + ,431 + ,17.8 + ,1.3 + ,130 + ,434 + ,16.4 + ,1.2 + ,124 + ,418 + ,18 + ,1.4 + ,115 + ,412 + ,20.3 + ,2.2 + ,106 + ,404 + ,19.5 + ,2.9 + ,105 + ,409 + ,18 + ,3.1 + ,105 + ,412 + ,20.2 + ,3.5 + ,101 + ,406 + ,19 + ,3.6 + ,95 + ,398 + ,20.2 + ,4.4 + ,93 + ,397 + ,21.5 + ,4.1 + ,84 + ,385 + ,19.7 + ,5.1 + ,87 + ,390 + ,21.1 + ,5.8 + ,116 + ,413 + ,20.2 + ,5.9 + ,120 + ,413 + ,18.2 + ,5.4 + ,117 + ,401 + ,21.3 + ,5.5 + ,109 + ,397 + ,20.4 + ,4.8 + ,105 + ,397 + ,17.2 + ,3.2 + ,107 + ,409 + ,15.8 + ,2.7 + ,109 + ,419 + ,15.1 + ,2.1 + ,109 + ,424 + ,14.5 + ,1.9 + ,108 + ,428 + ,15.8 + ,0.6 + ,107 + ,430 + ,14.3 + ,0.7 + ,99 + ,424 + ,13.9 + ,-0.2 + ,103 + ,433 + ,15.5 + ,-1 + ,131 + ,456 + ,14.3 + ,-1.7 + ,137 + ,459 + ,13.6 + ,-0.7 + ,135 + ,446 + ,16.3 + ,-1 + ,124 + ,441 + ,16.8 + ,-0.9 + ,118 + ,439 + ,16 + ,0 + ,121 + ,454 + ,16.8 + ,0.3 + ,121 + ,460 + ,16 + ,0.8) + ,dim=c(4 + ,61) + ,dimnames=list(c('Werkloosheid-25' + ,'Werkloosheid+25' + ,'Invoer' + ,'CPindex') + ,1:61)) > y <- array(NA,dim=c(4,61),dimnames=list(c('Werkloosheid-25','Werkloosheid+25','Invoer','CPindex'),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/rcomp/tmp/1476i1292435042.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] [,3] [,4] [1,] 84 385 13.6 -0.2 [2,] 107 413 15.7 1.4 [3,] 117 441 16.8 2.3 [4,] 127 461 18.2 2.8 [5,] 157 476 21.5 4.8 $n [1] 61 61 61 61 $conf [,1] [,2] [,3] [,4] [1,] 112.9540 431.2897 16.29425 2.016782 [2,] 121.0460 450.7103 17.30575 2.583218 $out [1] 5.1 5.8 5.9 5.4 5.5 -1.0 -1.7 -0.7 -1.0 -0.9 $group [1] 4 4 4 4 4 4 4 4 4 4 $names [1] "Werkloosheid-25" "Werkloosheid+25" "Invoer" "CPindex" > 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/287no1292435042.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/3bq3c1292435042.tab") > > try(system("convert tmp/1476i1292435042.ps tmp/1476i1292435042.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.401 0.169 0.859