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(90398 + ,3633 + ,180600 + ,90269 + ,3597 + ,179835 + ,90390 + ,3600 + ,179390 + ,88219 + ,3522 + ,181871 + ,87032 + ,3503 + ,175153 + ,87175 + ,3532 + ,177709 + ,92603 + ,3686 + ,190370 + ,93571 + ,3748 + ,193423 + ,94118 + ,3672 + ,193211 + ,92159 + ,3843 + ,192691 + ,89528 + ,3905 + ,188728 + ,89955 + ,3999 + ,192632 + ,89587 + ,4070 + ,192977 + ,89488 + ,4084 + ,192941 + ,88521 + ,4042 + ,192822 + ,86587 + ,3951 + ,189644 + ,85159 + ,3933 + ,189056 + ,84915 + ,3958 + ,190574 + ,91378 + ,4147 + ,204210 + ,92729 + ,4221 + ,204888 + ,92194 + ,4058 + ,201858 + ,89664 + ,4057 + ,197077 + ,86285 + ,4089 + ,192734 + ,86858 + ,4268 + ,196020 + ,87184 + ,4309 + ,197603 + ,86629 + ,4303 + ,197965 + ,85220 + ,4177 + ,195756 + ,84816 + ,4117 + ,195182 + ,84831 + ,4065 + ,195728 + ,84957 + ,3983 + ,196950 + ,90951 + ,4091 + ,210029 + ,92134 + ,4067 + ,211516 + ,91790 + ,4024 + ,205624 + ,86625 + ,3868 + ,195776 + ,83324 + ,3800 + ,189706 + ,82719 + ,3804 + ,190040 + ,83614 + ,3862 + ,191434 + ,81640 + ,3792 + ,187925 + ,78665 + ,3674 + ,182239 + ,77828 + ,3560 + ,182031 + ,75728 + ,3489 + ,178459 + ,72187 + ,3412 + ,173278 + ,79357 + ,3674 + ,191660 + ,81329 + ,3672 + ,194075 + ,77304 + ,3463 + ,181591 + ,75576 + ,3429 + ,177660 + ,72932 + ,3400 + ,172607 + ,74291 + ,3533 + ,176520 + ,74988 + ,3578 + ,177271 + ,73302 + ,3544 + ,174540 + ,70483 + ,3435 + ,170148 + ,69848 + ,3352 + ,169799 + ,66466 + ,3213 + ,163249 + ,67610 + ,3235 + ,167363 + ,75091 + ,3460 + ,185332 + ,76207 + ,3385 + ,185969 + ,73454 + ,3283 + ,174955 + ,72008 + ,3295 + ,172088 + ,71362 + ,3331 + ,172037 + ,74250 + ,3520 + ,179351) + ,dim=c(3 + ,60) + ,dimnames=list(c('leeftijd' + ,'landbouw' + ,'diensten') + ,1:60)) > y <- array(NA,dim=c(3,60),dimnames=list(c('leeftijd','landbouw','diensten'),1:60)) > 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/1q81z1257690808.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,] 66466.0 3213.0 163249.0 [2,] 75652.0 3511.5 178084.0 [3,] 85058.0 3717.0 189675.0 [4,] 89625.5 4049.5 194628.5 [5,] 94118.0 4309.0 211516.0 $n [1] 60 60 60 $conf [,1] [,2] [,3] [1,] 82207.73 3607.26 186300.3 [2,] 87908.27 3826.74 193049.7 $out numeric(0) $group numeric(0) $names [1] "leeftijd" "landbouw" "diensten" > 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/2mwnh1257690808.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/3q2ey1257690808.tab") > > system("convert tmp/1q81z1257690808.ps tmp/1q81z1257690808.png") > > > proc.time() user system elapsed 0.349 0.158 0.511