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(89.1 + ,96.96 + ,98.13 + ,83.3 + ,93.11 + ,98.29 + ,97.7 + ,95.62 + ,99.1 + ,100.9 + ,98.30 + ,99.26 + ,108.3 + ,96.38 + ,98.85 + ,113.2 + ,100.82 + ,98.05 + ,105 + ,99.06 + ,98.53 + ,104 + ,94.03 + ,99.34 + ,109.8 + ,102.07 + ,100.14 + ,98.6 + ,99.31 + ,100.3 + ,93.5 + ,98.64 + ,100.22 + ,98.2 + ,101.82 + ,99.9 + ,88 + ,99.14 + ,99.58 + ,85.3 + ,97.63 + ,99.9 + ,96.8 + ,100.06 + ,100.78 + ,98.8 + ,101.32 + ,100.78 + ,110.3 + ,101.49 + ,100.46 + ,111.6 + ,105.43 + ,100.06 + ,111.2 + ,105.09 + ,100.28 + ,106.9 + ,99.48 + ,100.78 + ,117.6 + ,108.53 + ,101.58 + ,97 + ,104.34 + ,102.06 + ,97.3 + ,106.10 + ,102.02 + ,98.4 + ,107.35 + ,101.68 + ,87.6 + ,103.00 + ,101.32 + ,87.4 + ,104.50 + ,101.81 + ,94.7 + ,105.17 + ,102.3 + ,101.5 + ,104.84 + ,102.12 + ,110.4 + ,106.18 + ,102.1 + ,108.4 + ,108.86 + ,101.75 + ,109.7 + ,107.77 + ,101.5 + ,105.2 + ,102.74 + ,102.16 + ,111.1 + ,112.63 + ,103.47 + ,96.2 + ,106.26 + ,104.05 + ,97.3 + ,108.86 + ,104.09 + ,98.9 + ,111.38 + ,103.55 + ,91.7 + ,106.85 + ,102.77 + ,90.9 + ,107.86 + ,102.89 + ,98.8 + ,107.94 + ,103.6 + ,111.5 + ,111.38 + ,103.76 + ,119 + ,111.29 + ,103.92 + ,115.3 + ,113.72 + ,103.35 + ,116.3 + ,111.88 + ,103.32 + ,113.6 + ,109.87 + ,104.2 + ,115.1 + ,113.72 + ,105.44 + ,109.7 + ,111.71 + ,105.81 + ,97.6 + ,114.81 + ,106.25 + ,100.8 + ,112.05 + ,105.94 + ,94 + ,111.54 + ,105.82 + ,87.2 + ,110.87 + ,105.96 + ,102.9 + ,110.87 + ,106.49 + ,111.3 + ,115.48 + ,106.32 + ,106.6 + ,111.63 + ,105.88 + ,108.9 + ,116.24 + ,105.07 + ,108.3 + ,113.56 + ,105.12 + ,100.5 + ,106.01 + ,106.15 + ,104 + ,110.45 + ,107.38 + ,89.9 + ,107.77 + ,107.75 + ,86.8 + ,108.61 + ,107.87 + ,91.2 + ,108.19 + ,107.39) + ,dim=c(3 + ,60) + ,dimnames=list(c('Ind' + ,'Best' + ,'HICP') + ,1:60)) > y <- array(NA,dim=c(3,60),dimnames=list(c('Ind','Best','HICP'),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/1pjc01258034430.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] [1,] 83.30 93.110 98.050 [2,] 95.45 101.405 100.290 [3,] 100.85 106.555 102.140 [4,] 109.75 111.080 105.095 [5,] 119.00 116.240 107.870 $n [1] 60 60 60 $conf [,1] [,2] [,3] [1,] 97.93313 104.5815 101.1599 [2,] 103.76687 108.5285 103.1201 $out numeric(0) $group numeric(0) $names [1] "Ind" "Best" "HICP" > 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/2ctcf1258034430.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/3xtnh1258034430.tab") > > system("convert tmp/1pjc01258034430.ps tmp/1pjc01258034430.png") > > > proc.time() user system elapsed 0.558 0.220 0.656