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 + ,99.76 + ,100.22 + ,98.74 + ,113.63 + ,99.12 + ,115.38 + ,100.22 + ,114.95 + ,99.98 + ,114.07 + ,100.44 + ,111.87 + ,100.19 + ,112.53 + ,101.59 + ,114.07 + ,102.08 + ,113.63 + ,101.43 + ,112.09 + ,100.27 + ,111.87 + ,101.24 + ,110.11 + ,100.92 + ,111.43 + ,103.04 + ,125.05 + ,102.76 + ,127.47 + ,102.36 + ,127.03 + ,101.35 + ,124.18 + ,101.68 + ,120.22 + ,100.29 + ,121.98 + ,102.68 + ,123.52 + ,102.89 + ,123.30 + ,103.30 + ,121.98 + ,101.75 + ,119.56 + ,103.42 + ,118.02 + ,102.92 + ,119.34 + ,103.44 + ,130.55 + ,103.01 + ,134.29 + ,103.45 + ,134.73 + ,101.87 + ,134.29 + ,100.70 + ,130.55 + ,101.24 + ,130.77 + ,102.73 + ,129.89 + ,102.46 + ,129.45 + ,103.90 + ,128.35 + ,102.32 + ,125.93 + ,102.25 + ,124.62 + ,103.21 + ,125.05 + ,104.00 + ,136.48 + ,103.94 + ,138.24 + ,103.08 + ,138.02 + ,103.27 + ,134.51 + ,103.14 + ,130.77 + ,102.63 + ,131.21 + ,104.49 + ,130.33 + ,104.39 + ,129.67 + ,105.49 + ,127.47 + ,104.68 + ,126.15 + ,103.46 + ,125.93 + ,103.38 + ,125.93 + ,103.25 + ,136.26 + ,104.44 + ,137.58 + ,104.47 + ,136.26 + ,103.68 + ,129.23 + ,104.22 + ,124.40 + ,103.18 + ,122.42 + ,104.30 + ,123.30 + ,105.00 + ,120.66 + ,107.23 + ,116.92 + ,105.92 + ,115.60 + ,106.73 + ,112.31 + ,107.72 + ,109.67 + ,106.78 + ,121.98 + ,107.59 + ,124.18 + ,110.69 + ,119.12 + ,108.11 + ,115.82 + ,109.74 + ,112.09 + ,108.76 + ,112.97 + ,109.66 + ,113.63 + ,110.48 + ,111.65 + ,110.25 + ,108.35 + ,109.93 + ,107.69 + ,110.64 + ,103.08 + ,110.44 + ,105.05 + ,109.90 + ,116.04 + ,110.33 + ,117.36 + ,112.38 + ,113.85 + ,116.42 + ,111.21 + ,117.83 + ,110.33 + ,118.28 + ,113.41 + ,122.75 + ,116.04 + ,124.20 + ,117.14 + ,122.34 + ,117.80 + ,123.17 + ,118.02 + ,121.92 + ,115.16 + ,122.68 + ,117.80 + ,122.30 + ,129.01 + ,123.72 + ,131.21 + ,123.78 + ,127.69 + ,123.07 + ,123.96) + ,dim=c(2 + ,90) + ,dimnames=list(c('staatsschuld' + ,'werkloosheid') + ,1:90)) > y <- array(NA,dim=c(2,90),dimnames=list(c('staatsschuld','werkloosheid'),1:90)) > 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/1pnfn1262205632.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] [1,] 98.74 100.00 [2,] 102.32 113.63 [3,] 103.57 121.32 [4,] 109.74 128.35 [5,] 118.28 138.24 $n [1] 90 90 $conf [,1] [,2] [1,] 102.3342 118.8684 [2,] 104.8058 123.7716 $out [1] 122.75 124.20 122.34 123.17 121.92 122.68 122.30 123.72 123.78 123.07 $group [1] 1 1 1 1 1 1 1 1 1 1 $names [1] "staatsschuld" "werkloosheid" > 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/2gzz21262205632.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/3dlcg1262205632.tab") > > try(system("convert tmp/1pnfn1262205632.ps tmp/1pnfn1262205632.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.383 0.156 1.122