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(33 + ,62 + ,44 + ,46 + ,39 + ,64 + ,44 + ,46 + ,45 + ,62 + ,46 + ,41 + ,46 + ,64 + ,44 + ,43 + ,45 + ,64 + ,46 + ,39 + ,45 + ,69 + ,46 + ,36 + ,49 + ,69 + ,48 + ,34 + ,50 + ,65 + ,44 + ,31 + ,54 + ,56 + ,48 + ,27 + ,59 + ,58 + ,50 + ,27 + ,58 + ,53 + ,49 + ,30 + ,56 + ,62 + ,52 + ,28 + ,48 + ,55 + ,49 + ,31 + ,50 + ,60 + ,51 + ,25 + ,52 + ,59 + ,51 + ,26 + ,53 + ,58 + ,51 + ,22 + ,55 + ,53 + ,51 + ,27 + ,43 + ,57 + ,51 + ,38 + ,42 + ,57 + ,49 + ,39 + ,38 + ,53 + ,48 + ,45 + ,41 + ,54 + ,46 + ,48 + ,41 + ,53 + ,47 + ,46 + ,39 + ,57 + ,48 + ,47 + ,34 + ,57 + ,46 + ,55 + ,27 + ,55 + ,45 + ,63 + ,15 + ,49 + ,42 + ,83 + ,14 + ,50 + ,43 + ,100 + ,31 + ,49 + ,43 + ,76 + ,41 + ,54 + ,47 + ,68 + ,43 + ,58 + ,48 + ,63 + ,46 + ,58 + ,47 + ,63 + ,42 + ,52 + ,47 + ,62 + ,45 + ,56 + ,46 + ,62 + ,45 + ,52 + ,46 + ,64 + ,40 + ,59 + ,47 + ,72 + ,35 + ,53 + ,45 + ,67 + ,36 + ,52 + ,45 + ,67 + ,38 + ,53 + ,45 + ,67 + ,39 + ,51 + ,44 + ,69 + ,32 + ,50 + ,44 + ,78 + ,24 + ,56 + ,44 + ,80 + ,21 + ,52 + ,41 + ,85 + ,12 + ,46 + ,39 + ,90 + ,29 + ,48 + ,43 + ,83 + ,36 + ,46 + ,44 + ,84 + ,31 + ,48 + ,43 + ,84 + ,28 + ,48 + ,42 + ,89 + ,30 + ,49 + ,41 + ,82 + ,38 + ,53 + ,44 + ,76 + ,27 + ,48 + ,43 + ,97 + ,40 + ,51 + ,45 + ,82 + ,40 + ,48 + ,46 + ,79 + ,44 + ,50 + ,46 + ,73 + ,47 + ,55 + ,46 + ,72 + ,45 + ,52 + ,46 + ,74 + ,42 + ,53 + ,46 + ,77 + ,38 + ,52 + ,45 + ,78 + ,46 + ,55 + ,46 + ,68 + ,37 + ,53 + ,45 + ,71 + ,41 + ,53 + ,46 + ,68 + ,40 + ,56 + ,45 + ,70 + ,33 + ,54 + ,47 + ,79 + ,34 + ,52 + ,44 + ,78 + ,36 + ,55 + ,45 + ,79 + ,36 + ,54 + ,46 + ,78 + ,38 + ,59 + ,46 + ,77 + ,42 + ,56 + ,45 + ,72 + ,35 + ,56 + ,43 + ,72 + ,25 + ,51 + ,42 + ,84 + ,24 + ,53 + ,43 + ,83 + ,22 + ,52 + ,43 + ,82 + ,27 + ,51 + ,42 + ,78 + ,17 + ,46 + ,40 + ,77 + ,30 + ,49 + ,44 + ,75 + ,30 + ,46 + ,44 + ,77 + ,34 + ,55 + ,45 + ,73 + ,37 + ,57 + ,46 + ,64 + ,36 + ,53 + ,46 + ,64 + ,33 + ,52 + ,45 + ,71 + ,33 + ,53 + ,45 + ,65 + ,33 + ,50 + ,43 + ,68 + ,37 + ,54 + ,45 + ,64 + ,40 + ,53 + ,45 + ,65 + ,35 + ,50 + ,45 + ,56 + ,37 + ,51 + ,43 + ,57 + ,43 + ,52 + ,46 + ,51 + ,42 + ,47 + ,46 + ,52 + ,33 + ,51 + ,44 + ,79 + ,39 + ,49 + ,46 + ,59 + ,40 + ,53 + ,45 + ,54 + ,37 + ,52 + ,44 + ,55 + ,44 + ,45 + ,45 + ,47 + ,42 + ,53 + ,45 + ,52 + ,43 + ,51 + ,44 + ,52 + ,40 + ,48 + ,43 + ,54 + ,30 + ,48 + ,42 + ,49 + ,30 + ,48 + ,43 + ,48 + ,31 + ,48 + ,42 + ,44 + ,18 + ,40 + ,39 + ,47 + ,24 + ,43 + ,40 + ,43 + ,22 + ,40 + ,38 + ,45 + ,26 + ,39 + ,41 + ,40 + ,28 + ,39 + ,38 + ,38 + ,23 + ,36 + ,38 + ,46 + ,17 + ,41 + ,38 + ,51 + ,12 + ,39 + ,34 + ,49 + ,9 + ,40 + ,36 + ,57 + ,19 + ,39 + ,38 + ,61 + ,21 + ,46 + ,40 + ,61 + ,18 + ,40 + ,35 + ,81 + ,18 + ,37 + ,36 + ,97 + ,15 + ,37 + ,35 + ,105 + ,24 + ,44 + ,39 + ,108 + ,18 + ,41 + ,38 + ,113 + ,19 + ,40 + ,36 + ,111 + ,30 + ,36 + ,39 + ,111 + ,33 + ,38 + ,41 + ,110 + ,35 + ,43 + ,41 + ,109 + ,36 + ,42 + ,38 + ,105 + ,47 + ,45 + ,41 + ,97 + ,46 + ,46 + ,41 + ,97) + ,dim=c(4 + ,121) + ,dimnames=list(c('Alg' + ,'Spaar' + ,'Fin' + ,'Werk') + ,1:121)) > y <- array(NA,dim=c(4,121),dimnames=list(c('Alg','Spaar','Fin','Werk'),1:121)) > 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/16tdb1258118471.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,] 12 38 36 22 [2,] 29 48 42 48 [3,] 36 52 45 67 [4,] 42 55 46 79 [5,] 59 65 52 113 $n [1] 121 121 121 121 $conf [,1] [,2] [,3] [,4] [1,] 34.13273 50.99455 44.42545 62.54727 [2,] 37.86727 53.00545 45.57455 71.45273 $out [1] 9 69 69 36 37 37 36 34 35 35 $group [1] 1 2 2 2 2 2 2 3 3 3 $names [1] "Alg" "Spaar" "Fin" "Werk" > 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/23kh01258118471.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/3spl91258118471.tab") > > system("convert tmp/16tdb1258118471.ps tmp/16tdb1258118471.png") > > > proc.time() user system elapsed 0.420 0.174 0.508