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,101.25,98.20,96.25,90.09,93.75,82.88,95.00,82.88,97.50,85.59,97.50,86.49,97.50,85.59,93.75,81.98,93.75,80.18,88.75,81.08,93.75,90.99,93.75,92.79,95.00,91.89,96.25,86.49,96.25,82.88,98.75,83.78,101.25,84.68,102.50,84.68,102.50,82.88,102.50,81.08,98.75,81.08,91.25,81.08,86.25,88.29,82.50,90.09,83.75,88.29,86.25,83.78,87.50,81.08,88.75,81.08,90.00,81.98,88.75,81.98,86.25,81.98,87.50,82.88,85.00,79.28,80.00,74.77,83.75,75.68,82.50,72.97,80.00,69.37,78.75,71.17,77.50,71.17,81.25,72.07,85.00,71.17,85.00,68.47,80.00,63.96,76.25,61.26,72.50,58.56,76.25,62.16,90.00,73.87,91.25,78.38,86.25,74.77,76.25,71.17,72.50,67.57,77.50,70.27,88.75,74.77,96.25,75.68,98.75,73.87,96.25,69.37,92.50,64.86,93.75,65.77,100.00,72.97),dim=c(2,60),dimnames=list(c('werkloosheidmannen','werkloosheidvrouwen'),1:60)) > y <- array(NA,dim=c(2,60),dimnames=list(c('werkloosheidmannen','werkloosheidvrouwen'),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/1lir21257510618.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,] 72.50 58.56 [2,] 83.75 71.62 [3,] 90.00 81.08 [4,] 96.25 84.23 [5,] 102.50 100.00 $n [1] 60 60 $conf [,1] [,2] [1,] 87.45029 78.50785 [2,] 92.54971 83.65215 $out numeric(0) $group numeric(0) $names [1] "werkloosheidmannen" "werkloosheidvrouwen" > 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/2zwud1257510618.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/3u8ps1257510618.tab") > > system("convert tmp/1lir21257510618.ps tmp/1lir21257510618.png") > > > proc.time() user system elapsed 0.366 0.158 0.715