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(97.7 + ,98.5 + ,85.0 + ,99.5 + ,101.5 + ,97.0 + ,95.9 + ,98.2 + ,119.6 + ,103.3 + ,108.9 + ,108.9 + ,108.1 + ,99.6 + ,96.2 + ,100.0 + ,117.8 + ,100.1 + ,100.1 + ,105.0 + ,125.5 + ,102.9 + ,105.7 + ,108.4 + ,89.2 + ,95.9 + ,64.5 + ,96.7 + ,92.3 + ,94.5 + ,66.8 + ,100.5 + ,104.6 + ,107.4 + ,110.3 + ,115.6 + ,122.8 + ,116.0 + ,96.1 + ,114.9 + ,96.0 + ,102.8 + ,102.5 + ,110.7 + ,94.6 + ,99.8 + ,97.6 + ,107.7 + ,93.3 + ,109.6 + ,83.6 + ,113.5 + ,101.1 + ,103.0 + ,86.5 + ,106.9 + ,114.2 + ,111.6 + ,96.0 + ,119.6 + ,104.7 + ,106.3 + ,91.1 + ,109.4 + ,113.3 + ,97.9 + ,87.2 + ,106.9 + ,118.2 + ,108.8 + ,84.5 + ,118.7 + ,83.6 + ,103.9 + ,59.2 + ,108.9 + ,73.9 + ,101.2 + ,61.5 + ,113.1 + ,99.5 + ,122.9 + ,98.8 + ,125.1 + ,97.7 + ,123.9 + ,97.9 + ,126.5 + ,103.0 + ,111.7 + ,92.7 + ,122.7 + ,106.3 + ,120.9 + ,84.2 + ,127.5 + ,92.2 + ,99.6 + ,74.5 + ,107.1 + ,101.8 + ,103.3 + ,79.7 + ,112.0 + ,122.8 + ,119.4 + ,86.8 + ,122.1 + ,111.8 + ,106.5 + ,79.8 + ,111.5 + ,106.3 + ,101.9 + ,87.0 + ,113.2 + ,121.5 + ,124.6 + ,91.4 + ,128.2 + ,81.9 + ,106.5 + ,58.7 + ,115.1 + ,85.4 + ,107.8 + ,62.8 + ,117.4 + ,110.9 + ,127.4 + ,87.9 + ,132.0 + ,117.3 + ,120.1 + ,90.4 + ,130.8 + ,106.3 + ,118.5 + ,80.6 + ,128.0 + ,105.5 + ,127.7 + ,73.5 + ,132.7 + ,101.3 + ,107.7 + ,71.4 + ,117.0 + ,105.9 + ,104.5 + ,70.6 + ,110.9 + ,126.3 + ,118.8 + ,78.3 + ,123.5 + ,111.9 + ,110.3 + ,76.0 + ,117.4 + ,108.9 + ,109.6 + ,77.4 + ,122.7 + ,127.2 + ,119.1 + ,80.9 + ,123.5 + ,94.2 + ,96.5 + ,63.4 + ,111.5 + ,85.7 + ,106.7 + ,58.1 + ,113.8 + ,116.2 + ,126.3 + ,88.2 + ,131.2 + ,107.2 + ,116.2 + ,81.2 + ,127.0 + ,110.6 + ,118.8 + ,84.9 + ,126.2 + ,112.0 + ,115.2 + ,76.4 + ,121.2 + ,104.5 + ,110.0 + ,71.5 + ,118.8 + ,112.0 + ,111.4 + ,76.1 + ,117.9 + ,132.8 + ,129.6 + ,82.9 + ,135.2 + ,110.8 + ,108.1 + ,78.0 + ,120.7 + ,128.7 + ,117.8 + ,82.0 + ,126.4 + ,136.8 + ,122.9 + ,84.7 + ,129.6 + ,94.9 + ,100.6 + ,55.7 + ,113.4 + ,88.8 + ,111.8 + ,59.5 + ,120.5 + ,123.2 + ,127.0 + ,83.2 + ,135.5 + ,125.3 + ,128.6 + ,87.6 + ,137.6 + ,122.7 + ,124.8 + ,76.2 + ,130.6 + ,125.7 + ,118.5 + ,76.4 + ,133.1 + ,116.3 + ,114.7 + ,68.3 + ,121.5 + ,118.7 + ,112.6 + ,70.0 + ,120.5 + ,142.0 + ,128.7 + ,76.3 + ,136.9 + ,127.9 + ,111.0 + ,70.9 + ,123.7 + ,131.9 + ,115.8 + ,72.4 + ,128.5 + ,152.3 + ,126.0 + ,80.1 + ,135.0 + ,110.8 + ,111.1 + ,57.4 + ,120.9 + ,99.1 + ,113.2 + ,62.7 + ,121.1 + ,135.0 + ,120.1 + ,82.6 + ,132.2 + ,133.2 + ,130.6 + ,88.9 + ,134.5 + ,131.0 + ,124.0 + ,80.4 + ,133.6 + ,133.9 + ,119.4 + ,72.0 + ,136.1 + ,119.9 + ,116.7 + ,69.4 + ,124.5 + ,136.9 + ,116.5 + ,69.2 + ,124.6 + ,148.9 + ,119.6 + ,77.3 + ,133.5 + ,145.1 + ,126.5 + ,79.4 + ,132.3 + ,142.4 + ,111.3 + ,78.6 + ,125.3 + ,159.6 + ,123.5 + ,76.1 + ,135.5 + ,120.7 + ,114.2 + ,61.8 + ,121.2 + ,109.0 + ,103.7 + ,59.4 + ,117.5 + ,142.0 + ,129.5 + ,78.1 + ,135.9) + ,dim=c(4 + ,81) + ,dimnames=list(c('IG' + ,'TCG' + ,'DCG' + ,'NDCG') + ,1:81)) > y <- array(NA,dim=c(4,81),dimnames=list(c('IG','TCG','DCG','NDCG'),1:81)) > 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/rcomp/tmp/1tk2q1229016049.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,] 73.9 94.5 55.7 96.7 [2,] 101.5 104.5 71.4 113.2 [3,] 111.9 111.8 79.7 121.2 [4,] 125.5 120.1 87.2 128.5 [5,] 159.6 130.6 110.3 137.6 $n [1] 81 81 81 81 $conf [,1] [,2] [,3] [,4] [1,] 107.6867 109.0613 76.92622 118.514 [2,] 116.1133 114.5387 82.47378 123.886 $out numeric(0) $group numeric(0) $names [1] "IG" "TCG" "DCG" "NDCG" > dev.off() null device 1 > > #Note: the /var/www/html/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/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/rcomp/tmp/2ulrx1229016049.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/rcomp/tmp/393311229016049.tab") > > system("convert tmp/1tk2q1229016049.ps tmp/1tk2q1229016049.png") > > > proc.time() user system elapsed 0.404 0.152 0.547