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(132,131.4,132.7,130.9,126,109.7,68.3,70.6,75.3,74.1,74.9,74,74.2,76,76.2,74.9,74.1,76.5,57.8,59.2,57.3,57.5,60.4,59.9,59.9,60,60.2,65.4,62.4,78.8,65.6,64.4,67.4,65.3,66.7,66.8,69.4,71.7,77.1,81.1,82.1,92.1,77.1,78.2,77.7,77.3,78.5,78.8,78.7,79.8,82.2,84,81.7,77.6,64.3,72.6,73.8,73.8,70.1,70,72.3,72.1,73.3,79.1,77,76.1,66.4,72.7,73.2,70.7,73.6,74.2,72.6,73.6,79.1,79.6,78,85.4,82,91.9,89.4,92.1,93.8,93.6,95.6,99.9,103.7,99.2,93.7,93.5,80.7,91.8,105.8,111.3,110.3,109.4,111.4,111.6,111.8,106.6,104.3,105.5,98.5,108.5,106,101.8,101.3,92.4,88.9,84.9,86.4,90.7,86.8,90.6,88.3,95.4,93.6,91.3,91.3,89.3),dim=c(1,120),dimnames=list(c('Maximumprijzen'),1:120)) > y <- array(NA,dim=c(1,120),dimnames=list(c('Maximumprijzen'),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 = '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/1mnml1287065249.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] [1,] 57.30 [2,] 72.65 [3,] 78.80 [4,] 93.55 [5,] 111.80 $n [1] 120 $conf [,1] [1,] 75.78552 [2,] 81.81448 $out [1] 132.0 131.4 132.7 130.9 126.0 $group [1] 1 1 1 1 1 $names [1] "Maximumprijzen" > 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/2ix1c1287065249.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/3so0w1287065249.tab") > > try(system("convert tmp/1mnml1287065249.ps tmp/1mnml1287065249.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.349 0.151 0.435