R version 2.12.1 (2010-12-16) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: x86_64-redhat-linux-gnu (64-bit) 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(131676 + ,135050 + ,129070 + ,137792 + ,139762 + ,142917 + ,144198 + ,142648 + ,152170 + ,136022 + ,138142 + ,138135 + ,135027 + ,132911 + ,133976 + ,137012 + ,119610 + ,118106 + ,120383 + ,133185 + ,131416 + ,134248 + ,134397 + ,127728 + ,131837 + ,125955 + ,134187 + ,143291 + ,145074 + ,149812 + ,144668 + ,147253 + ,145568 + ,155564 + ,155872 + ,156323 + ,158010 + ,155598 + ,154785 + ,157294 + ,162938 + ,157283 + ,166074 + ,169282 + ,172552 + ,174055 + ,175409 + ,173696 + ,171283 + ,173322 + ,170717 + ,174229 + ,175339 + ,173511 + ,175839 + ,173816 + ,173990 + ,174777 + ,174819 + ,176726 + ,176199 + ,180952 + ,176663 + ,182346 + ,180605 + ,182497 + ,187856 + ,190020 + ,190108 + ,193288 + ,193230 + ,199068 + ,195076 + ,191563 + ,191067 + ,186665 + ,185508 + ,184371 + ,183046 + ,175714 + ,175768 + ,171029 + ,170465 + ,170102 + ,156389 + ,124291 + ,99360 + ,86675 + ,85056 + ,128236 + ,164257 + ,162401 + ,152779 + ,156005 + ,153387 + ,153190 + ,148840 + ,144211 + ,145953 + ,145542 + ,150271 + ,147489 + ,143824 + ,134754 + ,131736 + ,126304 + ,125511 + ,125495 + ,130133 + ,126257 + ,110323 + ,98417 + ,105749 + ,120665 + ,124075 + ,127245 + ,146731 + ,144979 + ,148210 + ,144670 + ,142970 + ,142524 + ,146142 + ,146522 + ,148128 + ,148798 + ,150181 + ,152388 + ,155694 + ,160662 + ,155520 + ,158262 + ,154338 + ,158196 + ,160371 + ,154856 + ,150636 + ,145899 + ,141242 + ,140834 + ,141119 + ,139104 + ,134437 + ,129425 + ,123155 + ,119273 + ,120472 + ,121523 + ,121983 + ,123658 + ,124794 + ,124827 + ,120382 + ,117395 + ,115790 + ,114283 + ,117271 + ,117448 + ,118764 + ,120550 + ,123554 + ,125412 + ,124182 + ,119828 + ,115361 + ,114226 + ,115214 + ,115864 + ,114276 + ,113469 + ,114883 + ,114172 + ,111225 + ,112149 + ,115618 + ,118002 + ,121382 + ,120663) + ,dim=c(1 + ,178) + ,dimnames=list(c('Geboortes') + ,1:178)) > y <- array(NA,dim=c(1,178),dimnames=list(c('Geboortes'),1:178)) > 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 geboortes' > xlab = 'Variabelen' > main = 'Geboortes Belgie 1830-2007' > #'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/wessaorg/rcomp/tmp/1n2pc1298908018.ps",horizontal=F,onefile=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,] 85056.0 [2,] 124827.0 [3,] 144439.5 [4,] 162401.0 [5,] 199068.0 $n [1] 178 $conf [,1] [1,] 139989.8 [2,] 148889.2 $out numeric(0) $group numeric(0) $names [1] "Geboortes" > dev.off() null device 1 > > #Note: the /var/www/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/wessaorg/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/wessaorg/rcomp/tmp/2uqjn1298908018.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/wessaorg/rcomp/tmp/3l6wf1298908018.tab") > > try(system("convert tmp/1n2pc1298908018.ps tmp/1n2pc1298908018.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.450 0.070 0.544