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(8.4 + ,36 + ,3.8 + ,100.5 + ,8.4 + ,57 + ,3.6 + ,100.5 + ,8.4 + ,42 + ,3.9 + ,100.7 + ,8.6 + ,39 + ,3.7 + ,101.1 + ,8.9 + ,33 + ,3.6 + ,101.5 + ,8.8 + ,32 + ,3.3 + ,101.9 + ,8.3 + ,34 + ,3.1 + ,102.1 + ,7.5 + ,37 + ,3.9 + ,102.1 + ,7.2 + ,38 + ,4.6 + ,102.1 + ,7.4 + ,28 + ,4.3 + ,102.4 + ,8.8 + ,31 + ,4.4 + ,102.8 + ,9.3 + ,28 + ,4.2 + ,103.1 + ,9.3 + ,30 + ,4 + ,103.1 + ,8.7 + ,39 + ,4.9 + ,102.9 + ,8.2 + ,38 + ,4.6 + ,102.4 + ,8.3 + ,39 + ,4.3 + ,101.9 + ,8.5 + ,38 + ,4.3 + ,101.3 + ,8.6 + ,37 + ,4.6 + ,100.7 + ,8.5 + ,32 + ,5.1 + ,100.6 + ,8.2 + ,32 + ,4.8 + ,101 + ,8.1 + ,44 + ,4.5 + ,101.5 + ,7.9 + ,43 + ,4.9 + ,101.9 + ,8.6 + ,42 + ,5.1 + ,102.1 + ,8.7 + ,38 + ,5.1 + ,102.3 + ,8.7 + ,37 + ,5.2 + ,102.5 + ,8.5 + ,35 + ,4.5 + ,102.9 + ,8.4 + ,37 + ,4.6 + ,103.6 + ,8.5 + ,33 + ,4.9 + ,104.3 + ,8.7 + ,24 + ,4.6 + ,104.8 + ,8.7 + ,24 + ,4.4 + ,105.2 + ,8.6 + ,31 + ,3.7 + ,105.7 + ,8.5 + ,25 + ,4 + ,106.1 + ,8.3 + ,28 + ,4.2 + ,106.4 + ,8 + ,24 + ,3.9 + ,106.3 + ,8.2 + ,25 + ,3.6 + ,106.3 + ,8.1 + ,16 + ,3.6 + ,106.5 + ,8.1 + ,17 + ,3.2 + ,107.1 + ,8 + ,11 + ,3.2 + ,107.7 + ,7.9 + ,12 + ,3.5 + ,108.3 + ,7.9 + ,39 + ,3.6 + ,109 + ,8 + ,19 + ,3.7 + ,109.3 + ,8 + ,14 + ,3.8 + ,109.6 + ,7.9 + ,15 + ,3.8 + ,109.7 + ,8 + ,7 + ,3.8 + ,109.7 + ,7.7 + ,12 + ,3.3 + ,109.5 + ,7.2 + ,12 + ,3.3 + ,109.3 + ,7.5 + ,14 + ,3.4 + ,109 + ,7.3 + ,9 + ,3.1 + ,108.8 + ,7 + ,8 + ,3.5 + ,108.8 + ,7 + ,4 + ,4.2 + ,108.8 + ,7 + ,7 + ,4.9 + ,108.7 + ,7.2 + ,3 + ,5.1 + ,108.3 + ,7.3 + ,5 + ,5.5 + ,107.8 + ,7.1 + ,0 + ,5.6 + ,107.2 + ,6.8 + ,-2 + ,6.4 + ,106.4 + ,6.4 + ,6 + ,6.2 + ,105.7 + ,6.1 + ,11 + ,7.2 + ,105.3 + ,6.5 + ,9 + ,7.8 + ,105 + ,7.7 + ,17 + ,7.9 + ,104.6 + ,7.9 + ,21 + ,7.4 + ,104 + ,7.5 + ,21 + ,7.5 + ,103 + ,6.9 + ,41 + ,6.7 + ,101.6 + ,6.6 + ,57 + ,5.1 + ,100.2 + ,6.9 + ,65 + ,4.6 + ,99 + ,7.7 + ,68 + ,4.3 + ,98.1 + ,8 + ,73 + ,3.9 + ,97.4 + ,8 + ,71 + ,2.6 + ,96.9 + ,7.7 + ,71 + ,2.6 + ,96.3 + ,7.3 + ,70 + ,1.6 + ,95.9 + ,7.4 + ,69 + ,0.9 + ,95.7 + ,8.1 + ,65 + ,0.3 + ,95.5 + ,8.3 + ,57 + ,1.2 + ,95.3 + ,8.2 + ,57 + ,0.8) + ,dim=c(4 + ,73) + ,dimnames=list(c('werkloosheid' + ,'vooruitzicht_werkloosheid' + ,'CPI' + ,'industrie_productie') + ,1:73)) > y <- array(NA,dim=c(4,73),dimnames=list(c('werkloosheid','vooruitzicht_werkloosheid','CPI','industrie_productie'),1:73)) > 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/1jog51257507987.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,] 6.1 -2 2.6 95.3 [2,] 7.4 15 3.6 101.3 [3,] 8.0 32 4.2 103.0 [4,] 8.5 39 4.9 106.5 [5,] 9.3 73 6.7 109.7 $n [1] 73 73 73 73 $conf [,1] [,2] [,3] [,4] [1,] 7.796582 27.5618 3.959597 102.0384 [2,] 8.203418 36.4382 4.440403 103.9616 $out [1] 7.2 7.8 7.9 7.4 7.5 1.6 0.9 0.3 1.2 0.8 8.4 $group [1] 3 3 3 3 3 3 3 3 3 3 4 $names [1] "werkloosheid" "vooruitzicht_werkloosheid" [3] "CPI" "industrie_productie" > 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/2v6ky1257507987.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/3vh431257507987.tab") > > system("convert tmp/1jog51257507987.ps tmp/1jog51257507987.png") > > > proc.time() user system elapsed 0.391 0.162 0.470