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(14.538,18.730,22.485,20.036,16.971,19.028,22.759,20.516,26.195,27.786,24.090,25.447,11.509,15.572,22.518,20.520,17.789,20.205,26.835,25.826,31.934,30.019,30.111,31.566,12.738,19.814,24.776,20.424,18.688,20.418,25.778,25.100,25.859,30.651,26.551,31.124,9.367,17.382,20.995,18.205,17.328,18.157,23.691,26.736,27.165,34.506,29.506,31.956,10.698,18.479,19.785,19.684,18.730,17.970,27.044,22.405,26.482,29.096,25.591,29.743,13.807,19.169,22.782,20.366,17.537,18.004,24.319,22.679,32.034,36.438,29.383,28.029,15.548,17.704,25.316,20.764,18.089,21.705,23.843,22.397,26.105,29.462,27.071,31.514,11.514,17.409,24.561,21.382,17.351,22.780,23.970,26.887,34.777,35.022,35.338,36.845,13.971,22.228,28.806,20.506,22.414,25.814,28.352,29.965,30.212,32.609,30.364,37.702,13.253,21.790,27.192,21.725,22.205,24.693,29.133,35.953,37.863,43.129,39.690,41.086),dim=c(1,120),dimnames=list(c('inschrijvingen'),1:120)) > y <- array(NA,dim=c(1,120),dimnames=list(c('inschrijvingen'),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 = 'Aantal' > xlab = 'Reeks inschrijvingen nieuwe pers.wagens' > main = 'Box plot Inschrijving nieuwe pers.wagens' > #'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/120jo1267292847.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,] 9.3670 [2,] 19.4265 [3,] 23.9065 [4,] 29.1145 [5,] 43.1290 $n [1] 120 $conf [,1] [1,] 22.50916 [2,] 25.30384 $out numeric(0) $group numeric(0) $names [1] "inschrijvingen" > 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/2m6dw1267292847.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/3yo3n1267292847.tab") > > try(system("convert tmp/120jo1267292847.ps tmp/120jo1267292847.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.361 0.152 0.450