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(21.5,49.9,20.9,56.3,22.8,49.3,24.8,33.3,22.8,21.7,24.9,23.7,31.3,26.7,44.9,26.1,63.9,39.1,52.5,39.1,73.9,28.5,103.7,56.4,113.7,39.6,98.5,67.9,75.3,54.3,113.8,55.8,127.5,19.5,143.4,22,136.1,23.6,101.4,22.2,106.6,30,102.5,32.5,115.8,59.1,81.9,31.4,50.1,19.7,46.8,34.9,41.8,24.4,67.1,52.1,56.7,39.2,29.2,29.9,34.8,17.6,30.5,21.4,45.7,19.9,61.1,26.2,92.2,28.5,73.3,38.2,87.5,46.8,70.5,42.7,135.6,85.1,88.2,50.6,71.4,26.5,86.5,29.3,127.4,44.4,108.5,56.5,100.1,33.6,108.3,33.7,96.5,23.3,79.5,29.6,80.7,44.8,53.8,38,34.2,47.6,61.4,42.1,41,25,42.8,19,76,35.8,43.1,26.4,41.8,17.7,58.1,22.7,54,18.7,36.1,18.6,53.2,18.7,46.7,37.6,35.5,25.5,32.5,20.8,58.5,14.9,40.8,26.2,45.3,18.3,27.9,14.4,34.5,25,33.5,19.3,32.5,19.4,25.7,26.9,23.6,23.5),dim=c(2,73),dimnames=list(c('invoer','uitvoer'),1:73)) > y <- array(NA,dim=c(2,73),dimnames=list(c('invoer','uitvoer'),1:73)) > 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 = 'Maanden' > main = 'Invoer - Uitvoer' > #'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/1wvax1261230366.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,] 20.9 14.4 [2,] 35.5 22.2 [3,] 56.7 28.5 [4,] 88.2 39.6 [5,] 143.4 59.1 $n [1] 73 73 $conf [,1] [,2] [1,] 46.95445 25.28230 [2,] 66.44555 31.71770 $out [1] 67.9 85.1 $group [1] 2 2 $names [1] "invoer" "uitvoer" > 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/2e5321261230366.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/3yi461261230366.tab") > > try(system("convert tmp/1wvax1261230366.ps tmp/1wvax1261230366.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.368 0.160 0.442