R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-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(617 + ,6.3 + ,614 + ,6.2 + ,647 + ,6.3 + ,580 + ,6.5 + ,614 + ,6.6 + ,636 + ,6.4 + ,388 + ,6.2 + ,356 + ,6.3 + ,639 + ,6.6 + ,753 + ,7.1 + ,611 + ,7.2 + ,639 + ,7.3 + ,630 + ,7.3 + ,586 + ,7.3 + ,695 + ,7.4 + ,552 + ,7.3 + ,619 + ,7.4 + ,681 + ,7.4 + ,421 + ,7.6 + ,307 + ,7.6 + ,754 + ,7.7 + ,690 + ,7.7 + ,644 + ,7.8 + ,643 + ,7.8 + ,608 + ,8.0 + ,651 + ,8.1 + ,691 + ,8.1 + ,627 + ,8.2 + ,634 + ,8.1 + ,731 + ,8.1 + ,475 + ,8.1 + ,337 + ,8.0 + ,803 + ,8.2 + ,722 + ,8.4 + ,590 + ,8.4 + ,724 + ,8.5 + ,627 + ,8.6 + ,696 + ,8.5 + ,825 + ,8.3 + ,677 + ,7.8 + ,656 + ,7.8 + ,785 + ,8.0 + ,412 + ,8.6 + ,352 + ,8.9 + ,839 + ,8.9 + ,729 + ,8.6 + ,696 + ,8.3 + ,641 + ,8.3 + ,695 + ,8.3 + ,638 + ,8.4 + ,762 + ,8.5 + ,635 + ,8.4 + ,721 + ,8.6 + ,854 + ,8.5 + ,418 + ,8.5 + ,367 + ,8.5 + ,824 + ,8.5 + ,687 + ,8.5 + ,601 + ,8.5 + ,676 + ,8.5 + ,740 + ,8.5 + ,691 + ,8.6 + ,683 + ,8.6 + ,594 + ,8.6 + ,729 + ,8.6 + ,731 + ,8.4 + ,386 + ,8.0 + ,331 + ,7.9 + ,706 + ,8.0 + ,715 + ,8.0 + ,657 + ,8.0 + ,653 + ,8.0 + ,642 + ,7.9 + ,643 + ,7.9 + ,718 + ,7.9 + ,654 + ,8.0 + ,632 + ,7.9 + ,731 + ,7.5 + ,392 + ,7.2 + ,344 + ,7.0 + ,792 + ,6.9 + ,852 + ,7.1 + ,649 + ,7.1 + ,629 + ,7.2 + ,685 + ,7.1 + ,617 + ,6.9 + ,715 + ,6.8 + ,715 + ,6.7 + ,629 + ,6.7 + ,916 + ,6.9 + ,531 + ,7.3 + ,357 + ,7.4 + ,917 + ,7.3 + ,828 + ,7.1 + ,708 + ,7.0 + ,858 + ,7.1 + ,775 + ,7.5 + ,785 + ,7.7 + ,1006 + ,7.8 + ,789 + ,7.7 + ,734 + ,7.7 + ,906 + ,7.8 + ,532 + ,8.0 + ,387 + ,8.1 + ,991 + ,8.1 + ,841 + ,8.0 + ,892 + ,8.1 + ,782 + ,8.2 + ,811 + ,8.3 + ,792 + ,8.4 + ,978 + ,8.5 + ,773 + ,8.5 + ,796 + ,8.5 + ,946 + ,8.5 + ,594 + ,8.5 + ,438 + ,8.3 + ,1023 + ,8.2 + ,868 + ,8.1 + ,791 + ,7.9 + ,760 + ,7.6 + ,779 + ,7.3 + ,852 + ,7.1 + ,1001 + ,7.0 + ,734 + ,7.0 + ,996 + ,7.0 + ,869 + ,7.0 + ,599 + ,6.9 + ,426 + ,6.8 + ,1138 + ,6.7) + ,dim=c(2 + ,129) + ,dimnames=list(c('faillissementen' + ,'Werkloosheidsgraad') + ,1:129)) > y <- array(NA,dim=c(2,129),dimnames=list(c('faillissementen','Werkloosheidsgraad'),1:129)) > 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/wessaorg/rcomp/tmp/1fun21322827312.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] [,2] [1,] 386 6.2 [2,] 617 7.2 [3,] 687 7.9 [4,] 782 8.3 [5,] 1023 8.9 $n [1] 129 129 $conf [,1] [,2] [1,] 664.0466 7.746978 [2,] 709.9534 8.053022 $out [1] 356 307 337 352 367 331 344 357 1138 $group [1] 1 1 1 1 1 1 1 1 1 $names [1] "faillissementen" "Werkloosheidsgraad" > dev.off() null device 1 > > #Note: the /var/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/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/wessaorg/rcomp/tmp/2qz5l1322827312.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/wessaorg/rcomp/tmp/3iq9b1322827312.tab") > > try(system("convert tmp/1fun21322827312.ps tmp/1fun21322827312.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.465 0.082 0.552