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.4,109.2,0,96.4,88.6,0,101.9,94.3,0,106.2,98.3,0,81,86.4,0,94.7,80.6,0,101,104.1,0,109.4,108.2,0,102.3,93.4,0,90.7,71.9,0,96.2,94.1,0,96.1,94.9,0,106,96.4,0,103.1,91.1,0,102,84.4,0,104.7,86.4,0,86,88,0,92.1,75.1,0,106.9,109.7,0,112.6,103,0,101.7,82.1,0,92,68,0,97.4,96.4,0,97,94.3,0,105.4,90,0,102.7,88,0,98.1,76.1,0,104.5,82.5,0,87.4,81.4,0,89.9,66.5,0,109.8,97.2,0,111.7,94.1,0,98.6,80.7,0,96.9,70.5,0,95.1,87.8,0,97,89.5,0,112.7,99.6,0,102.9,84.2,0,97.4,75.1,0,111.4,92,0,87.4,80.8,0,96.8,73.1,0,114.1,99.8,0,110.3,90,0,103.9,83.1,0,101.6,72.4,0,94.6,78.8,0,95.9,87.3,0,104.7,91,0,102.8,80.1,0,98.1,73.6,0,113.9,86.4,0,80.9,74.5,0,95.7,71.2,0,113.2,92.4,0,105.9,81.5,0,108.8,85.3,0,102.3,69.9,0,99,84.2,0,100.7,90.7,0,115.5,100.3,0),dim=c(3,61),dimnames=list(c('TotProd','ProdKledij',''),1:61)) > y <- array(NA,dim=c(3,61),dimnames=list(c('TotProd','ProdKledij',''),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 = 'Workshop 4 - Vraag 1' > #'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/17ofq1193415104.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] [1,] 86.0 66.5 0 [2,] 96.2 80.6 0 [3,] 101.7 87.3 0 [4,] 106.0 94.1 0 [5,] 115.5 109.7 0 $n [1] 61 61 61 $conf [,1] [,2] [,3] [1,] 99.71748 84.56897 0 [2,] 103.68252 90.03103 0 $out [1] 81.0 80.9 $group [1] 1 1 $names [1] "TotProd" "ProdKledij" "V3" > 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/2sinn1193415104.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/3dpgo1193415104.tab") > > system("convert tmp/17ofq1193415104.ps tmp/17ofq1193415104.png") > > > proc.time() user system elapsed 0.669 0.179 0.731