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(94 + ,94 + ,94 + ,93 + ,93 + ,93 + ,92 + ,92 + ,92 + ,90 + ,90 + ,90 + ,110 + ,110 + ,110 + ,109 + ,109 + ,109 + ,94 + ,94 + ,94 + ,84 + ,84 + ,84 + ,85 + ,85 + ,85 + ,85 + ,85 + ,85 + ,86 + ,86 + ,86 + ,88 + ,88 + ,88 + ,93 + ,93 + ,93 + ,94 + ,94 + ,94 + ,90 + ,90 + ,90 + ,91 + ,91 + ,91 + ,104 + ,104 + ,104 + ,103 + ,103 + ,103 + ,88 + ,88 + ,88 + ,79 + ,79 + ,79 + ,82 + ,82 + ,82 + ,88 + ,88 + ,88 + ,93 + ,93 + ,93 + ,89 + ,89 + ,89 + ,94 + ,94 + ,94 + ,96 + ,96 + ,96 + ,94 + ,94 + ,94 + ,92 + ,92 + ,92 + ,113 + ,113 + ,113 + ,122 + ,122 + ,122 + ,107 + ,107 + ,107 + ,98 + ,98 + ,98 + ,103 + ,103 + ,103 + ,110 + ,110 + ,110 + ,113 + ,113 + ,113 + ,110 + ,110 + ,110 + ,123 + ,123 + ,123 + ,124 + ,124 + ,124 + ,118 + ,118 + ,118 + ,117 + ,117 + ,117 + ,139 + ,139 + ,139 + ,146 + ,146 + ,146 + ,134 + ,134 + ,134 + ,121 + ,121 + ,121 + ,123 + ,123 + ,123 + ,122 + ,122 + ,122 + ,127 + ,127 + ,127 + ,122 + ,122 + ,122 + ,139 + ,139 + ,139 + ,136 + ,136 + ,136 + ,127 + ,127 + ,127 + ,123 + ,123 + ,123 + ,140 + ,140 + ,140 + ,146 + ,146 + ,146 + ,138 + ,138 + ,138 + ,120 + ,120 + ,120 + ,122 + ,122 + ,122 + ,115 + ,115 + ,115 + ,115 + ,115 + ,115 + ,102 + ,102 + ,102 + ,119 + ,119 + ,119 + ,114 + ,114 + ,114 + ,108 + ,108 + ,108 + ,102 + ,102 + ,102 + ,121 + ,121 + ,121 + ,109 + ,109 + ,109 + ,102 + ,102 + ,102 + ,95 + ,95 + ,95 + ,98 + ,98 + ,98 + ,92 + ,92 + ,92 + ,94 + ,94 + ,94 + ,90 + ,90 + ,90 + ,113 + ,113 + ,113 + ,111 + ,111 + ,111 + ,103 + ,103 + ,103 + ,90 + ,90 + ,90 + ,108 + ,108 + ,108 + ,99 + ,99 + ,99 + ,95 + ,95 + ,95 + ,91 + ,91 + ,91 + ,85 + ,85 + ,85 + ,72 + ,72 + ,72 + ,90 + ,90 + ,90 + ,90 + ,90 + ,90 + ,114 + ,114 + ,114 + ,115 + ,115 + ,115 + ,104 + ,104 + ,104 + ,93 + ,93 + ,93 + ,101 + ,101 + ,101 + ,90 + ,90 + ,90 + ,79 + ,79 + ,79 + ,75 + ,75 + ,75 + ,71 + ,71 + ,71 + ,61 + ,61 + ,61 + ,84 + ,84 + ,84 + ,87 + ,87 + ,87 + ,107 + ,107 + ,107 + ,99 + ,99 + ,99 + ,93 + ,93 + ,93 + ,74 + ,74 + ,74 + ,87 + ,87 + ,87 + ,71 + ,71 + ,71 + ,67 + ,67 + ,67 + ,61 + ,61 + ,61 + ,63 + ,63 + ,63 + ,52 + ,52 + ,52 + ,80 + ,80 + ,80 + ,84 + ,84 + ,84 + ,102 + ,102 + ,102 + ,93 + ,93 + ,93 + ,87 + ,87 + ,87 + ,72 + ,72 + ,72 + ,83 + ,83 + ,83 + ,72 + ,72 + ,72 + ,66 + ,66 + ,66 + ,64 + ,64 + ,64 + ,64 + ,64 + ,64 + ,47 + ,47 + ,47 + ,77 + ,77 + ,77 + ,79 + ,79 + ,79) + ,dim=c(3 + ,120) + ,dimnames=list(c('reeks' + ,'reeks' + ,'reeks') + ,1:120)) > y <- array(NA,dim=c(3,120),dimnames=list(c('reeks','reeks','reeks'),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 = 'euro' > xlab = 'omzet product x' > 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/153aj1281606006.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] [1,] 47.0 47.0 47.0 [2,] 86.5 86.5 86.5 [3,] 94.0 94.0 94.0 [4,] 113.0 113.0 113.0 [5,] 146.0 146.0 146.0 $n [1] 120 120 120 $conf [,1] [,2] [,3] [1,] 90.17781 90.17781 90.17781 [2,] 97.82219 97.82219 97.82219 $out numeric(0) $group numeric(0) $names [1] "reeks" "reeks" "reeks" > 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/2jvq91281606006.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/3cm7u1281606006.tab") > > try(system("convert tmp/153aj1281606006.ps tmp/153aj1281606006.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.409 0.172 0.886