R version 2.9.0 (2009-04-17) Copyright (C) 2009 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(100.00 + ,100.00 + ,100.00 + ,100.00 + ,98.76 + ,100.70 + ,111.86 + ,100.00 + ,96.54 + ,97.38 + ,94.12 + ,100.00 + ,96.97 + ,97.40 + ,67.79 + ,100.00 + ,96.69 + ,96.24 + ,146.04 + ,100.00 + ,96.69 + ,95.79 + ,125.66 + ,100.00 + ,95.96 + ,94.90 + ,142.87 + ,100.00 + ,94.26 + ,92.93 + ,130.03 + ,100.00 + ,93.21 + ,92.12 + ,110.01 + ,100.00 + ,92.46 + ,93.26 + ,132.79 + ,100.00 + ,100.23 + ,102.29 + ,88.24 + ,100.00 + ,101.60 + ,103.58 + ,91.97 + ,100.00 + ,101.99 + ,103.04 + ,96.65 + ,100.00 + ,100.55 + ,99.36 + ,97.15 + ,100.00 + ,98.21 + ,96.29 + ,90.73 + ,100.00 + ,98.62 + ,96.46 + ,52.53 + ,110.50 + ,97.76 + ,96.08 + ,156.91 + ,112.50 + ,97.84 + ,94.99 + ,144.88 + ,112.50 + ,96.59 + ,92.93 + ,169.43 + ,122.50 + ,96.03 + ,91.71 + ,133.38 + ,125.00 + ,95.73 + ,91.54 + ,131.28 + ,125.00 + ,94.66 + ,92.52 + ,116.33 + ,132.00 + ,101.12 + ,101.15 + ,89.15 + ,137.50 + ,101.44 + ,102.78 + ,85.08 + ,146.50 + ,101.99 + ,100.49 + ,89.39 + ,150.00 + ,97.18 + ,94.82 + ,103.09 + ,158.50 + ,94.15 + ,90.77 + ,85.35 + ,162.50 + ,92.76 + ,89.39 + ,45.99 + ,169.50 + ,93.87 + ,89.43 + ,152.82 + ,175.00 + ,92.18 + ,87.32 + ,130.37 + ,175.00 + ,89.04 + ,84.81 + ,150.50 + ,182.50 + ,88.40 + ,83.61 + ,126.97 + ,187.50 + ,85.85 + ,81.28 + ,123.24 + ,187.50 + ,82.13 + ,80.76 + ,126.57 + ,195.00 + ,90.21 + ,91.04 + ,100.26 + ,200.00 + ,91.06 + ,93.13 + ,91.76 + ,200.00 + ,88.86 + ,88.03 + ,100.28 + ,200.00 + ,87.45 + ,84.79 + ,121.65 + ,200.00 + ,84.93 + ,81.72 + ,97.29 + ,200.00 + ,86.22 + ,81.95 + ,62.55 + ,200.00 + ,86.72 + ,82.32 + ,154.99 + ,200.00 + ,85.50 + ,80.53 + ,147.85 + ,200.00 + ,82.72 + ,78.38 + ,147.40 + ,200.00 + ,82.72 + ,77.65 + ,156.80 + ,200.00 + ,78.70 + ,74.78 + ,126.81 + ,200.00 + ,79.15 + ,76.91 + ,131.76 + ,200.00 + ,86.51 + ,86.02 + ,99.21 + ,209.00 + ,86.65 + ,87.50 + ,87.35 + ,212.50 + ,86.17 + ,83.12 + ,100.76 + ,212.50 + ,85.52 + ,80.08 + ,110.57 + ,198.50 + ,85.93 + ,78.40 + ,76.46 + ,171.00 + ,89.24 + ,79.87 + ,56.51 + ,137.50 + ,92.23 + ,80.95 + ,124.95 + ,115.50 + ,93.63 + ,81.07 + ,118.29 + ,100.00 + ,95.27 + ,80.76 + ,136.43 + ,83.00 + ,95.59 + ,80.54 + ,128.62 + ,65.50 + ,93.31 + ,78.58 + ,100.74 + ,54.50 + ,94.90 + ,81.05 + ,111.75 + ,50.00 + ,102.13 + ,90.14 + ,93.43 + ,50.00 + ,103.24 + ,92.24 + ,83.33 + ,50.00) + ,dim=c(4 + ,60) + ,dimnames=list(c('nwwmb' + ,'nwwvb' + ,'inpwb' + ,'vrv') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('nwwmb','nwwvb','inpwb','vrv'),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/rcomp/tmp/11upw1258125456.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,] 78.700 74.780 45.990 50.00 [2,] 87.085 81.175 91.865 100.00 [3,] 94.010 90.455 111.160 134.75 [4,] 97.470 95.935 131.520 199.25 [5,] 103.240 103.580 169.430 212.50 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 91.8917 87.4443 103.0713 114.5053 [2,] 96.1283 93.4657 119.2487 154.9947 $out numeric(0) $group numeric(0) $names [1] "nwwmb" "nwwvb" "inpwb" "vrv" > 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/2nv461258125456.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/3x70v1258125456.tab") > > system("convert tmp/11upw1258125456.ps tmp/11upw1258125456.png") > > > proc.time() user system elapsed 0.402 0.160 0.663