R version 2.8.0 (2008-10-20) Copyright (C) 2008 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(111078 + ,231814 + ,123364 + ,40715 + ,150739 + ,246796 + ,127760 + ,44028 + ,159129 + ,247891 + ,127130 + ,45564 + ,157928 + ,248291 + ,127496 + ,44277 + ,147768 + ,245766 + ,126954 + ,44976 + ,137507 + ,238776 + ,125655 + ,45406 + ,136919 + ,242541 + ,127949 + ,47379 + ,136151 + ,246861 + ,130113 + ,49200 + ,133001 + ,246843 + ,130789 + ,50221 + ,125554 + ,246947 + ,131258 + ,51573 + ,119647 + ,241679 + ,129182 + ,53091 + ,114158 + ,240085 + ,129082 + ,53337 + ,116193 + ,241514 + ,130037 + ,54978 + ,152803 + ,250525 + ,132317 + ,57885 + ,161761 + ,250567 + ,131336 + ,67099 + ,160942 + ,252145 + ,132357 + ,67169 + ,149470 + ,251877 + ,140181 + ,69796 + ,139208 + ,245817 + ,138542 + ,70600 + ,134588 + ,248269 + ,140615 + ,71982 + ,130322 + ,246310 + ,140276 + ,73957 + ,126611 + ,246733 + ,140762 + ,75273 + ,122401 + ,245028 + ,140677 + ,76322 + ,117352 + ,240022 + ,138648 + ,77078 + ,112135 + ,238614 + ,138753 + ,77954 + ,112879 + ,238096 + ,138815 + ,79238 + ,148729 + ,248530 + ,141297 + ,82179 + ,157230 + ,248381 + ,139439 + ,83834 + ,157221 + ,247567 + ,139700 + ,83744 + ,146681 + ,241783 + ,138792 + ,84861 + ,136524 + ,235000 + ,137402 + ,86478 + ,132111 + ,237384 + ,139356 + ,88290 + ,125326 + ,238020 + ,139775 + ,90287 + ,122716 + ,236412 + ,139714 + ,91230 + ,116615 + ,232279 + ,138525 + ,92380 + ,113719 + ,230408 + ,137572 + ,92506 + ,110737 + ,230254 + ,137612 + ,94172 + ,112093 + ,229217 + ,136904 + ,94728 + ,143565 + ,239658 + ,139763 + ,96581 + ,149946 + ,239906 + ,138613 + ,97344 + ,149147 + ,236558 + ,135865 + ,98346 + ,134339 + ,223566 + ,131506 + ,98214 + ,122683 + ,216054 + ,128639 + ,98366 + ,115614 + ,214685 + ,128207 + ,98768 + ,116566 + ,216086 + ,128092 + ,99832 + ,111272 + ,211692 + ,125914 + ,99976 + ,104609 + ,204681 + ,122422 + ,99961 + ,101802 + ,203075 + ,120878 + ,100164 + ,94542 + ,198401 + ,118131 + ,99964 + ,93051 + ,191246 + ,115061 + ,99304 + ,124129 + ,206750 + ,120475 + ,104008 + ,130374 + ,209611 + ,119962 + ,104644 + ,123946 + ,199573 + ,114188 + ,103950 + ,114971 + ,195635 + ,112201 + ,104263 + ,105531 + ,190062 + ,110012 + ,104241 + ,104919 + ,193134 + ,111064 + ,105141 + ,104782 + ,194795 + ,111327 + ,106018 + ,101281 + ,190835 + ,109579 + ,105866 + ,94545 + ,185045 + ,107088 + ,105944 + ,93248 + ,184425 + ,106191 + ,106379 + ,84031 + ,177293 + ,102951 + ,105082 + ,87486 + ,180549 + ,104630 + ,104915) + ,dim=c(4 + ,61) + ,dimnames=list(c('-25j' + ,'25-40j' + ,'40-50j' + ,'+50j') + ,1:61)) > y <- array(NA,dim=c(4,61),dimnames=list(c('-25j','25-40j','40-50j','+50j'),1:61)) > 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/freestat/rcomp/tmp/1d0221229260641.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] [,4] [1,] 84031 177293 102951 40715 [2,] 112093 209611 122422 67169 [3,] 123946 238020 130113 88290 [4,] 139208 246310 138648 99961 [5,] 161761 252145 141297 106379 $n [1] 61 61 61 61 $conf [,1] [,2] [,3] [,4] [1,] 118460.7 230595.9 126830.5 81656.24 [2,] 129431.3 245444.1 133395.5 94923.76 $out numeric(0) $group numeric(0) $names [1] "-25j" "25-40j" "40-50j" "+50j" > dev.off() null device 1 > > #Note: the /var/www/html/freestat/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/freestat/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/freestat/rcomp/tmp/2q23o1229260641.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/freestat/rcomp/tmp/3444o1229260641.tab") > > system("convert tmp/1d0221229260641.ps tmp/1d0221229260641.png") > > > proc.time() user system elapsed 0.563 0.216 0.631