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(127 + ,392 + ,2.75 + ,30.23 + ,123 + ,394 + ,2.75 + ,32.33 + ,118 + ,392 + ,2.55 + ,29.87 + ,114 + ,396 + ,2.5 + ,24.87 + ,108 + ,392 + ,2.5 + ,25.48 + ,111 + ,396 + ,2.1 + ,27.28 + ,151 + ,419 + ,2 + ,28.24 + ,159 + ,421 + ,2 + ,29.58 + ,158 + ,420 + ,2 + ,26.95 + ,148 + ,418 + ,2 + ,29.08 + ,138 + ,410 + ,2 + ,28.76 + ,137 + ,418 + ,2 + ,29.59 + ,136 + ,426 + ,2 + ,30.7 + ,133 + ,428 + ,2 + ,30.52 + ,126 + ,430 + ,2 + ,32.67 + ,120 + ,424 + ,2 + ,33.19 + ,114 + ,423 + ,2 + ,37.13 + ,116 + ,427 + ,2 + ,35.54 + ,153 + ,441 + ,2 + ,37.75 + ,162 + ,449 + ,2 + ,41.84 + ,161 + ,452 + ,2 + ,42.94 + ,149 + ,462 + ,2 + ,49.24 + ,139 + ,455 + ,2 + ,44.61 + ,135 + ,461 + ,2 + ,40.22 + ,130 + ,461 + ,2 + ,44.23 + ,127 + ,463 + ,2 + ,25.85 + ,122 + ,462 + ,2 + ,53.38 + ,117 + ,456 + ,2 + ,53.26 + ,112 + ,455 + ,2 + ,51.8 + ,113 + ,456 + ,2 + ,55.3 + ,149 + ,472 + ,2 + ,57.81 + ,157 + ,472 + ,2 + ,63.96 + ,157 + ,471 + ,2 + ,63.77 + ,147 + ,465 + ,2 + ,59.15 + ,137 + ,459 + ,2 + ,56.12 + ,132 + ,465 + ,2.21 + ,57.42 + ,125 + ,468 + ,2.25 + ,63.52 + ,123 + ,467 + ,2.25 + ,61.71 + ,117 + ,463 + ,2.45 + ,63.01 + ,114 + ,460 + ,2.5 + ,68.18 + ,111 + ,462 + ,2.5 + ,72.03 + ,112 + ,461 + ,2.64 + ,69.75 + ,144 + ,476 + ,2.75 + ,74.41 + ,150 + ,476 + ,2.93 + ,74.33 + ,149 + ,471 + ,3 + ,64.24 + ,134 + ,453 + ,3.17 + ,60.03 + ,123 + ,443 + ,3.25 + ,59.44 + ,116 + ,442 + ,3.39 + ,62.5 + ,117 + ,444 + ,3.5 + ,55.04 + ,111 + ,438 + ,3.5 + ,58.34 + ,105 + ,427 + ,3.65 + ,61.92 + ,102 + ,424 + ,3.75 + ,67.65 + ,95 + ,416 + ,3.75 + ,67.68 + ,93 + ,406 + ,3.9 + ,70.3 + ,124 + ,431 + ,4 + ,75.26 + ,130 + ,434 + ,4 + ,71.44 + ,124 + ,418 + ,4 + ,76.36 + ,115 + ,412 + ,4 + ,81.71 + ,106 + ,404 + ,4 + ,92.6 + ,105 + ,409 + ,4 + ,90.6 + ,105 + ,412 + ,4 + ,92.23 + ,101 + ,406 + ,4 + ,94.09 + ,95 + ,398 + ,4 + ,102.79 + ,93 + ,397 + ,4 + ,109.65 + ,84 + ,385 + ,4 + ,124.05 + ,87 + ,390 + ,4 + ,132.69 + ,116 + ,413 + ,4.18 + ,135.81 + ,120 + ,413 + ,4.25 + ,116.07 + ,117 + ,401 + ,4.25 + ,101.42 + ,109 + ,397 + ,3.97 + ,75.73 + ,105 + ,397 + ,3.42 + ,55.48 + ,107 + ,409 + ,2.75 + ,43.8) + ,dim=c(4 + ,72) + ,dimnames=list(c('Werkloosheid' + ,'Werkloosheid' + ,'Rente' + ,'Brent ') + ,1:72)) > y <- array(NA,dim=c(4,72),dimnames=list(c('Werkloosheid','Werkloosheid','Rente','Brent '),1:72)) > 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/18s0o1258036722.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,] 84 385.0 2.00 24.870 [2,] 111 409.5 2.00 36.335 [3,] 121 427.5 2.50 58.075 [4,] 137 460.5 3.75 71.735 [5,] 162 476.0 4.25 124.050 $n [1] 72 72 72 72 $conf [,1] [,2] [,3] [,4] [1,] 116.1587 418.0036 2.174142 51.48335 [2,] 125.8413 436.9964 2.825858 64.66665 $out [1] 132.69 135.81 $group [1] 4 4 $names [1] "Werkloosheid" "Werkloosheid" "Rente" "Brent\r" Warning messages: 1: In axis(side = 1, at = 1:4, labels = c("Werkloosheid", "Werkloosheid", : font width unknown for character 0xd 2: In axis(side = 1, at = 1:4, labels = c("Werkloosheid", "Werkloosheid", : font width unknown for character 0xd > 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/285t61258036722.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/3lm8p1258036722.tab") > > system("convert tmp/18s0o1258036722.ps tmp/18s0o1258036722.png") > > > proc.time() user system elapsed 0.388 0.163 1.059