R version 2.5.1 (2007-06-27) Copyright (C) 2007 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(110.40,109.20,96.40,88.60,101.90,94.30,106.20,98.30,81.00,86.40,94.70,80.60,101.00,104.10,109.40,108.20,102.30,93.40,90.70,71.90,96.20,94.10,96.10,94.90,106.00,96.40,103.10,91.10,102.00,84.40,104.70,86.40,86.00,88.00,92.10,75.10,106.90,109.70,112.60,103.00,101.70,82.10,92.00,68.00,97.40,96.40,97.00,94.30,105.40,90.00,102.70,88.00,98.10,76.10,104.50,82.50,87.40,81.40,89.90,66.50,109.80,97.20,111.70,94.10,98.60,80.70,96.90,70.50,95.10,87.80,97.00,89.50,112.70,99.60,102.90,84.20,97.40,75.10,111.40,92.00,87.40,80.80,96.80,73.10,114.10,99.80,110.30,90.00,103.90,83.10,101.60,72.40,94.60,78.80,95.90,87.30,104.70,91.00,102.80,80.10,98.10,73.60,113.90,86.40,80.90,74.50,95.70,71.20,113.20,92.40,105.90,81.50,108.80,85.30,102.30,69.90,99.00,84.20,100.70,90.70,115.50,100.30),dim=c(2,61),dimnames=list(c('TotaleIndustrie','Kledingindustrie '),1:61)) > y <- array(NA,dim=c(2,61),dimnames=list(c('TotaleIndustrie','Kledingindustrie '),1:61)) > 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: Wessa P., (2007), Notched Boxplots (v1.0.4) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_notchedbox1.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description > z <- as.data.frame(t(y)) > postscript(file="/var/www/html/rcomp/tmp/1j41v1193388014.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,] 86.0 66.5 [2,] 96.2 80.6 [3,] 101.7 87.3 [4,] 106.0 94.1 [5,] 115.5 109.7 $n [1] 61 61 $conf [,1] [,2] [1,] 99.71748 84.56897 [2,] 103.68252 90.03103 $out [1] 81.0 80.9 $group [1] 1 1 $names [1] "TotaleIndustrie" "Kledingindustrie\r" Warning messages: 1: font width unknown for character 0xd in: axis(side = 1, at = 1:2, labels = c("TotaleIndustrie", "Kledingindustrie\r" 2: font width unknown for character 0xd in: axis(side = 1, at = 1:2, labels = c("TotaleIndustrie", "Kledingindustrie\r" 3: font width unknown for character 0xd in: axis(side = 1, at = 1:2, labels = c("TotaleIndustrie", "Kledingindustrie\r" > dev.off() null device 1 > 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/2fq6p1193388014.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/39la61193388015.tab") > > system("convert tmp/1j41v1193388014.ps tmp/1j41v1193388014.png") > > > proc.time() user system elapsed 0.687 0.165 0.758