R version 2.8.1 (2008-12-22) 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(101 + ,108.2 + ,108.5 + ,101 + ,100.3 + ,108.8 + ,112.3 + ,101 + ,100.1 + ,110.2 + ,116.6 + ,98.7 + ,99.8 + ,109.5 + ,115.5 + ,96.4 + ,99.9 + ,109.5 + ,120.1 + ,95.6 + ,99.9 + ,116 + ,132.9 + ,95.4 + ,100.2 + ,111.2 + ,128.1 + ,98.7 + ,99.7 + ,112.1 + ,129.3 + ,98.7 + ,100.4 + ,114 + ,132.5 + ,98.7 + ,100.9 + ,119.1 + ,131 + ,99.3 + ,101.3 + ,114.1 + ,124.9 + ,99.5 + ,101.4 + ,115.1 + ,120.8 + ,99.6 + ,101.3 + ,115.4 + ,122 + ,100.8 + ,100.9 + ,110.8 + ,122.1 + ,100.8 + ,100.9 + ,116 + ,127.4 + ,100.8 + ,100.9 + ,119.2 + ,135.2 + ,101 + ,101.1 + ,126.5 + ,137.3 + ,101.6 + ,101.1 + ,127.8 + ,135 + ,102.3 + ,101.3 + ,131.3 + ,136 + ,102.3 + ,101.8 + ,140.3 + ,138.4 + ,102.3 + ,102.9 + ,137.3 + ,134.7 + ,102.3 + ,103.2 + ,143 + ,138.4 + ,102.4 + ,103.3 + ,134.5 + ,133.9 + ,102.4 + ,104.5 + ,139.9 + ,133.6 + ,102.4 + ,105 + ,159.3 + ,141.2 + ,102.4 + ,104.9 + ,170.4 + ,151.8 + ,102.4 + ,104.9 + ,175 + ,155.4 + ,102.4 + ,105.4 + ,175.8 + ,156.6 + ,102.4 + ,106 + ,180.9 + ,161.6 + ,101.6 + ,105.7 + ,180.3 + ,160.7 + ,102.2 + ,105.9 + ,169.6 + ,156 + ,102.2 + ,106.2 + ,172.3 + ,159.5 + ,102.2 + ,106.4 + ,184.8 + ,168.7 + ,102.2 + ,106.9 + ,177.7 + ,169.9 + ,102.2 + ,107.3 + ,184.6 + ,169.9 + ,102.2 + ,107.9 + ,211.4 + ,185.9 + ,102.2 + ,109.2 + ,215.3 + ,190.8 + ,102.2 + ,110.2 + ,215.9 + ,195.8 + ,102.2 + ,110.2 + ,244.7 + ,211.9 + ,102.2 + ,110.5 + ,259.3 + ,227.1 + ,102.2 + ,110.6 + ,289 + ,251.3 + ,102.2 + ,110.8 + ,310.9 + ,256.7 + ,102.2 + ,111.3 + ,321 + ,251.9 + ,102.2 + ,111.1 + ,315.1 + ,251.2 + ,102.2 + ,111.2 + ,333.2 + ,270.3 + ,102.2 + ,111.2 + ,314.1 + ,267.2 + ,102.2 + ,111.1 + ,284.7 + ,243 + ,102.2 + ,111.5 + ,273.9 + ,229.9 + ,102.2 + ,112.1 + ,216 + ,187.2 + ,102.1 + ,111.4 + ,196.4 + ,178.2 + ,102.1 + ,110.4 + ,190.9 + ,175.2 + ,102.1 + ,110 + ,206.4 + ,192.4 + ,102.1 + ,110.4 + ,196.3 + ,187 + ,100.7 + ,110 + ,199.5 + ,184 + ,100.7 + ,110 + ,198.9 + ,194.1 + ,100.7 + ,109.3 + ,214.4 + ,212.7 + ,100.7 + ,109.7 + ,214.2 + ,217.5 + ,100.7 + ,109.6 + ,187.6 + ,200.5 + ,100.7 + ,109.6 + ,180.6 + ,205.9 + ,100.7 + ,109.4 + ,172.2 + ,196.5 + ,100.7) + ,dim=c(4 + ,60) + ,dimnames=list(c('AFPT' + ,'PIDG' + ,'PIDT' + ,'AFPD ') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('AFPT','PIDG','PIDT','AFPD '),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 = 'Indexwaarde' > xlab = 'Maandelijks' > 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/rcomp/tmp/1wppb1257790689.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,] 99.70 108.20 108.50 98.70 [2,] 101.20 119.15 133.25 100.70 [3,] 105.95 175.40 160.10 102.15 [4,] 110.10 212.80 196.15 102.20 [5,] 112.10 333.20 270.30 102.40 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 104.1346 156.2975 147.2698 101.8440 [2,] 107.7654 194.5025 172.9302 102.4560 $out [1] 96.4 95.6 95.4 $group [1] 4 4 4 $names [1] "AFPT" "PIDG" "PIDT" "AFPD\r" Warning messages: 1: In bxp(list(stats = c(99.7, 101.2, 105.95, 110.1, 112.1, 108.2, : some notches went outside hinges ('box'): maybe set notch=FALSE 2: In axis(side = 1, at = 1:4, labels = c("AFPT", "PIDG", "PIDT", "AFPD\r" : font width unknown for character 0xd 3: In axis(side = 1, at = 1:4, labels = c("AFPT", "PIDG", "PIDT", "AFPD\r" : font width unknown for character 0xd > dev.off() null device 1 > > #Note: the /var/www/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/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/rcomp/tmp/28c041257790689.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/rcomp/tmp/3zjrk1257790689.tab") > > system("convert tmp/1wppb1257790689.ps tmp/1wppb1257790689.png") > > > proc.time() user system elapsed 0.460 0.370 0.702