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.00 + ,100.00 + ,100.00 + ,100.00 + ,103.36 + ,140.89 + ,100.62 + ,102.33 + ,105.97 + ,125.62 + ,98.33 + ,102.33 + ,108.17 + ,111.82 + ,96.32 + ,102.33 + ,111.75 + ,111.33 + ,96.83 + ,101.16 + ,112.68 + ,126.60 + ,97.70 + ,102.33 + ,113.15 + ,151.23 + ,98.53 + ,101.16 + ,111.05 + ,135.96 + ,99.05 + ,98.84 + ,112.35 + ,123.65 + ,105.07 + ,97.67 + ,114.69 + ,141.38 + ,105.01 + ,96.51 + ,118.15 + ,154.68 + ,105.98 + ,100.00 + ,118.87 + ,153.20 + ,110.73 + ,101.16 + ,119.54 + ,155.67 + ,116.37 + ,98.84 + ,122.03 + ,121.67 + ,120.60 + ,103.49 + ,126.75 + ,126.60 + ,127.83 + ,113.95 + ,133.02 + ,142.36 + ,134.60 + ,117.44 + ,138.32 + ,129.56 + ,138.19 + ,116.28 + ,142.12 + ,117.24 + ,137.77 + ,117.44 + ,141.31 + ,83.25 + ,148.13 + ,122.09 + ,137.88 + ,96.55 + ,157.93 + ,116.28 + ,129.50 + ,107.88 + ,140.38 + ,115.12 + ,134.27 + ,92.12 + ,148.54 + ,118.60 + ,140.10 + ,78.82 + ,146.59 + ,129.07 + ,144.01 + ,80.30 + ,140.09 + ,133.72 + ,150.12 + ,60.10 + ,138.40 + ,137.21 + ,152.34 + ,59.61 + ,144.82 + ,139.53 + ,155.65 + ,73.40 + ,141.65 + ,141.86 + ,161.20 + ,80.79 + ,144.18 + ,139.53 + ,163.33 + ,81.77 + ,151.30 + ,143.02 + ,158.05 + ,87.19 + ,147.41 + ,143.02 + ,166.55 + ,89.66 + ,149.66 + ,140.70 + ,170.38 + ,87.68 + ,147.50 + ,145.35 + ,167.64 + ,63.05 + ,145.42 + ,139.53 + ,165.51 + ,63.55 + ,144.32 + ,139.53 + ,152.44 + ,67.49 + ,145.15 + ,140.70 + ,155.85 + ,55.17 + ,152.13 + ,145.35 + ,160.89 + ,74.38 + ,157.63 + ,143.02 + ,148.91 + ,110.34 + ,163.78 + ,139.53 + ,149.33 + ,144.83 + ,164.23 + ,137.21 + ,139.46 + ,152.22 + ,179.49 + ,134.88 + ,134.98 + ,170.44 + ,186.47 + ,130.23 + ,133.29 + ,179.31 + ,186.10 + ,129.07 + ,139.93 + ,216.26 + ,171.99 + ,127.91 + ,137.88 + ,204.43 + ,170.67 + ,125.58 + ,127.12 + ,256.65 + ,170.21 + ,117.44 + ,110.01 + ,285.71 + ,177.49 + ,117.44 + ,110.53 + ,291.13 + ,167.32 + ,115.12 + ,107.46 + ,265.52 + ,171.06 + ,124.42 + ,79.72 + ,268.97 + ,181.80 + ,131.40 + ,73.07 + ,232.51 + ,177.65 + ,126.74 + ,67.57 + ,154.68 + ,181.86 + ,110.47 + ,69.12 + ,129.56 + ,192.78 + ,91.86 + ,65.69 + ,114.29 + ,218.37 + ,84.88 + ,60.58 + ,95.07 + ,212.28 + ,81.40 + ,67.63 + ,30.54 + ,201.89 + ,75.58 + ,74.44 + ,29.56 + ,202.94 + ,70.93 + ,73.62 + ,-18.23 + ,201.55 + ,61.63 + ,75.12 + ,-54.19 + ,197.90 + ,59.30 + ,83.19 + ,-82.76 + ,198.68 + ,47.67 + ,88.63 + ,-38.42 + ,204.09 + ,48.84) + ,dim=c(4 + ,60) + ,dimnames=list(c('BEL20' + ,'inflatie' + ,'goud' + ,'depositorente') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('BEL20','inflatie','goud','depositorente'),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/12yew1257763453.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,] 60.580 -18.230 96.320 47.670 [2,] 106.715 79.560 131.215 100.580 [3,] 126.935 113.055 147.815 117.440 [4,] 146.460 151.725 177.570 136.045 [5,] 170.380 256.650 218.370 145.350 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 118.8279 98.335 138.3596 110.2060 [2,] 135.0421 127.775 157.2704 124.6740 $out [1] 285.71 291.13 265.52 268.97 -54.19 -82.76 -38.42 $group [1] 2 2 2 2 2 2 2 $names [1] "BEL20" "inflatie" "goud" "depositorente" > 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/28z9g1257763453.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/3hkj11257763453.tab") > > system("convert tmp/12yew1257763453.ps tmp/12yew1257763453.png") > > > proc.time() user system elapsed 0.415 0.178 3.806