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 + ,100 + ,100 + ,79.54 + ,96.21 + ,97.82 + ,99.87 + ,77.15 + ,96.31 + ,96.14 + ,99.54 + ,95.00 + ,107.18 + ,96.89 + ,99.81 + ,98.12 + ,114.91 + ,102.20 + ,100.49 + ,85.47 + ,92.56 + ,100.81 + ,101.14 + ,82.49 + ,115.00 + ,98.58 + ,101.37 + ,92.01 + ,107.12 + ,102.03 + ,101.51 + ,100.98 + ,117.78 + ,101.92 + ,101.82 + ,99.94 + ,107.37 + ,104.35 + ,102.44 + ,120.19 + ,106.30 + ,101.06 + ,102.53 + ,109.80 + ,114.51 + ,97.93 + ,102.65 + ,84.76 + ,98.00 + ,100.29 + ,102.47 + ,92.08 + ,103.06 + ,102.01 + ,102.44 + ,109.40 + ,100.29 + ,101.94 + ,102.42 + ,109.43 + ,104.61 + ,99.41 + ,102.45 + ,109.11 + ,111.15 + ,97.96 + ,102.89 + ,135.08 + ,104.99 + ,101.38 + ,102.85 + ,98.71 + ,109.93 + ,99.32 + ,103.36 + ,95.93 + ,111.54 + ,97.95 + ,103.74 + ,118.71 + ,132.50 + ,96.09 + ,103.72 + ,100.80 + ,100.34 + ,100.95 + ,104.08 + ,124.28 + ,123.10 + ,99.73 + ,104.21 + ,95.52 + ,114.24 + ,99.01 + ,103.91 + ,116.01 + ,104.57 + ,100.66 + ,103.70 + ,107.93 + ,109.08 + ,100.92 + ,103.96 + ,105.99 + ,106.98 + ,97.90 + ,104.10 + ,112.37 + ,133.68 + ,97.49 + ,104.15 + ,113.54 + ,124.85 + ,101.65 + ,104.71 + ,101.04 + ,122.51 + ,99.43 + ,104.72 + ,100.04 + ,116.80 + ,98.73 + ,105.20 + ,119.32 + ,116.01 + ,97.97 + ,105.07 + ,138.46 + ,129.76 + ,100.04 + ,105.06 + ,97.10 + ,125.20 + ,100.69 + ,105.50 + ,96.17 + ,143.79 + ,97.83 + ,105.38 + ,89.81 + ,127.95 + ,100.69 + ,105.47 + ,107.07 + ,130.30 + ,98.03 + ,106.03 + ,110.59 + ,108.44 + ,97.67 + ,107.02 + ,99.32 + ,129.37 + ,96.89 + ,107.32 + ,131.17 + ,143.68 + ,100.78 + ,107.75 + ,114.22 + ,131.88 + ,98.99 + ,108.52 + ,92.54 + ,117.62 + ,99.80 + ,109.32 + ,92.74 + ,118.96 + ,94.98 + ,109.56 + ,98.21 + ,104.82 + ,98.58 + ,110.54 + ,91.06 + ,134.62 + ,101.25 + ,111.16 + ,104.39 + ,140.40 + ,100.03 + ,111.74 + ,89.89 + ,143.80 + ,98.62 + ,111.06 + ,93.70 + ,153.43 + ,105.31 + ,111.24 + ,91.51 + ,153.29 + ,104.21 + ,111.04 + ,78.22 + ,127.31 + ,107.87 + ,110.38 + ,114.95 + ,153.55 + ,104.63 + ,110.14 + ,101.84 + ,136.93 + ,94.67 + ,110.25 + ,86.76 + ,131.77 + ,101.59 + ,110.62 + ,82.24 + ,144.34 + ,103.55 + ,109.99 + ,81.04 + ,107.42 + ,97.97 + ,110.22 + ,77.06 + ,113.62 + ,98.94 + ,110.14 + ,87.81 + ,124.22 + ,96.63 + ,109.93 + ,81.50 + ,102.06 + ,97.39 + ,109.86 + ,78.32 + ,96.37 + ,99.49 + ,110.20 + ,80.12 + ,111.68 + ,98.74 + ,109.91) + ,dim=c(4 + ,60) + ,dimnames=list(c('export' + ,'import' + ,'wisselkoers' + ,'consumptieprijzen') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('export','import','wisselkoers','consumptieprijzen'),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/1fas11257762411.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,] 77.060 92.560 94.670 99.54 [2,] 89.850 106.640 97.955 102.59 [3,] 98.460 114.955 99.460 104.89 [4,] 109.415 130.030 101.155 109.92 [5,] 138.460 153.550 105.310 111.74 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 94.46919 110.1840 98.80727 103.3948 [2,] 102.45081 119.7260 100.11273 106.3852 $out [1] 107.87 $group [1] 3 $names [1] "export" "import" "wisselkoers" [4] "consumptieprijzen" > 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/2qkf51257762411.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/3b5221257762411.tab") > > system("convert tmp/1fas11257762411.ps tmp/1fas11257762411.png") > > > proc.time() user system elapsed 0.406 0.153 0.481