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(121.6 + ,116.2 + ,91.8 + ,124.1 + ,118.8 + ,111.2 + ,93.2 + ,127.6 + ,114.0 + ,105.8 + ,86.5 + ,110.7 + ,111.5 + ,122.7 + ,98.9 + ,104.6 + ,97.2 + ,99.5 + ,77.2 + ,112.7 + ,102.5 + ,107.9 + ,79.4 + ,115.3 + ,113.4 + ,124.6 + ,90.4 + ,139.4 + ,109.8 + ,115.0 + ,81.4 + ,119.0 + ,104.9 + ,110.3 + ,85.8 + ,97.4 + ,126.1 + ,132.7 + ,103.6 + ,154.0 + ,80.0 + ,99.7 + ,73.6 + ,81.5 + ,96.8 + ,96.5 + ,75.7 + ,88.8 + ,117.2 + ,118.7 + ,99.2 + ,127.7 + ,112.3 + ,112.9 + ,88.7 + ,105.1 + ,117.3 + ,130.5 + ,94.6 + ,114.9 + ,111.1 + ,137.9 + ,98.7 + ,106.4 + ,102.2 + ,115.0 + ,84.2 + ,104.5 + ,104.3 + ,116.8 + ,87.7 + ,121.6 + ,122.9 + ,140.9 + ,103.3 + ,141.4 + ,107.6 + ,120.7 + ,88.2 + ,99.0 + ,121.3 + ,134.2 + ,93.4 + ,126.7 + ,131.5 + ,147.3 + ,106.3 + ,134.1 + ,89.0 + ,112.4 + ,73.1 + ,81.3 + ,104.4 + ,107.1 + ,78.6 + ,88.6 + ,128.9 + ,128.4 + ,101.6 + ,132.7 + ,135.9 + ,137.7 + ,101.4 + ,132.9 + ,133.3 + ,135.0 + ,98.5 + ,134.4 + ,121.3 + ,151.0 + ,99.0 + ,103.7 + ,120.5 + ,137.4 + ,89.5 + ,119.7 + ,120.4 + ,132.4 + ,83.5 + ,115.0 + ,137.9 + ,161.3 + ,97.4 + ,132.9 + ,126.1 + ,139.8 + ,87.8 + ,108.5 + ,133.2 + ,146.0 + ,90.4 + ,113.9 + ,151.1 + ,166.5 + ,101.6 + ,142.0 + ,105.0 + ,143.3 + ,80.0 + ,97.7 + ,119.0 + ,121.0 + ,81.7 + ,92.2 + ,140.4 + ,152.6 + ,96.4 + ,128.8 + ,156.6 + ,154.4 + ,110.2 + ,134.9 + ,137.1 + ,154.6 + ,101.1 + ,128.2 + ,122.7 + ,158.0 + ,89.3 + ,114.8 + ,125.8 + ,142.6 + ,90.0 + ,117.9 + ,139.3 + ,153.4 + ,95.4 + ,119.1 + ,134.9 + ,163.4 + ,100.3 + ,120.7 + ,149.2 + ,167.3 + ,99.5 + ,129.1 + ,132.3 + ,154.8 + ,93.9 + ,117.6 + ,149.0 + ,165.7 + ,100.6 + ,129.2 + ,117.2 + ,144.7 + ,84.7 + ,100.0 + ,119.6 + ,120.9 + ,81.6 + ,87.0 + ,152.0 + ,152.8 + ,109.0 + ,128.0 + ,149.4 + ,160.2 + ,99.0 + ,127.7 + ,127.3 + ,128.3 + ,81.1 + ,93.4 + ,114.1 + ,150.5 + ,81.8 + ,84.1 + ,102.1 + ,117.0 + ,66.5 + ,71.7 + ,107.7 + ,116.0 + ,66.4 + ,83.2 + ,104.4 + ,133.3 + ,86.3 + ,89.1 + ,102.1 + ,116.4 + ,73.6 + ,79.6 + ,96.0 + ,104.0 + ,71.5 + ,62.8 + ,109.3 + ,126.6 + ,87.2 + ,95.1 + ,90.0 + ,92.9 + ,65.3 + ,63.6 + ,83.9 + ,83.6 + ,69.7 + ,61.4) + ,dim=c(4 + ,60) + ,dimnames=list(c('Promet' + ,'Maapwe' + ,'Elelap' + ,'Transp') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('Promet','Maapwe','Elelap','Transp'),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/freestat/rcomp/tmp/1hs161258034507.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,] 80.00 83.60 65.30 61.40 [2,] 104.95 115.50 81.50 94.25 [3,] 118.90 131.45 89.40 114.85 [4,] 131.90 148.90 98.95 127.85 [5,] 156.60 167.30 110.20 154.00 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 113.4028 124.6372 85.8406 107.9964 [2,] 124.3972 138.2628 92.9594 121.7036 $out numeric(0) $group numeric(0) $names [1] "Promet" "Maapwe" "Elelap" "Transp" > 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/2wkhi1258034507.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/3fvi71258034507.tab") > > system("convert tmp/1hs161258034507.ps tmp/1hs161258034507.png") > > > proc.time() user system elapsed 0.585 0.246 0.645