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(96.8 + ,9.3 + ,142.7 + ,610.763 + ,114.1 + ,9.3 + ,141.7 + ,612.613 + ,110.3 + ,8.7 + ,153.4 + ,611.324 + ,103.9 + ,8.2 + ,145 + ,594.167 + ,101.6 + ,8.3 + ,137.7 + ,595.454 + ,94.6 + ,8.5 + ,148.3 + ,590.865 + ,95.9 + ,8.6 + ,152.2 + ,589.379 + ,104.7 + ,8.5 + ,169.4 + ,584.428 + ,102.8 + ,8.2 + ,168.6 + ,573.1 + ,98.1 + ,8.1 + ,161.1 + ,567.456 + ,113.9 + ,7.9 + ,174.1 + ,569.028 + ,80.9 + ,8.6 + ,179 + ,620.735 + ,95.7 + ,8.7 + ,190.6 + ,628.884 + ,113.2 + ,8.7 + ,190 + ,628.232 + ,105.9 + ,8.5 + ,181.6 + ,612.117 + ,108.8 + ,8.4 + ,174.8 + ,595.404 + ,102.3 + ,8.5 + ,180.5 + ,597.141 + ,99.0 + ,8.7 + ,196.8 + ,593.408 + ,100.7 + ,8.7 + ,193.8 + ,590.072 + ,115.5 + ,8.6 + ,197 + ,579.799 + ,100.7 + ,8.5 + ,216.3 + ,574.205 + ,109.9 + ,8.3 + ,221.4 + ,572.775 + ,114.6 + ,8.0 + ,217.9 + ,572.942 + ,85.4 + ,8.2 + ,229.7 + ,619.567 + ,100.5 + ,8.1 + ,227.4 + ,625.809 + ,114.8 + ,8.1 + ,204.2 + ,619.916 + ,116.5 + ,8.0 + ,196.6 + ,587.625 + ,112.9 + ,7.9 + ,198.8 + ,565.742 + ,102.0 + ,7.9 + ,207.5 + ,557.274 + ,106.0 + ,8.0 + ,190.7 + ,560.576 + ,105.3 + ,8.0 + ,201.6 + ,548.854 + ,118.8 + ,7.9 + ,210.5 + ,531.673 + ,106.1 + ,8.0 + ,223.5 + ,525.919 + ,109.3 + ,7.7 + ,223.8 + ,511.038 + ,117.2 + ,7.2 + ,231.2 + ,498.662 + ,92.5 + ,7.5 + ,244 + ,555.362 + ,104.2 + ,7.3 + ,234.7 + ,564.591 + ,112.5 + ,7.0 + ,250.2 + ,541.657 + ,122.4 + ,7.0 + ,265.7 + ,527.07 + ,113.3 + ,7.0 + ,287.6 + ,509.846 + ,100.0 + ,7.2 + ,283.3 + ,514.258 + ,110.7 + ,7.3 + ,295.4 + ,516.922 + ,112.8 + ,7.1 + ,312.3 + ,507.561 + ,109.8 + ,6.8 + ,333.8 + ,492.622 + ,117.3 + ,6.4 + ,347.7 + ,490.243 + ,109.1 + ,6.1 + ,383.2 + ,469.357 + ,115.9 + ,6.5 + ,407.1 + ,477.58 + ,96.0 + ,7.7 + ,413.6 + ,528.379 + ,99.8 + ,7.9 + ,362.7 + ,533.59 + ,116.8 + ,7.5 + ,321.9 + ,517.945 + ,115.7 + ,6.9 + ,239.4 + ,506.174 + ,99.4 + ,6.6 + ,191 + ,501.866 + ,94.3 + ,6.9 + ,159.7 + ,516.141 + ,91.0 + ,7.7 + ,163.4 + ,528.222 + ,93.2 + ,8.0 + ,157.6 + ,532.638 + ,103.1 + ,8.0 + ,166.2 + ,536.322 + ,94.1 + ,7.7 + ,176.7 + ,536.535 + ,91.8 + ,7.3 + ,198.3 + ,523.597 + ,102.7 + ,7.4 + ,226.2 + ,536.214 + ,82.6 + ,8.1 + ,216.2 + ,586.57 + ,89.1 + ,8.3 + ,235.9 + ,596.594) + ,dim=c(4 + ,61) + ,dimnames=list(c('1' + ,'2' + ,'3' + ,'4 ') + ,1:61)) > y <- array(NA,dim=c(4,61),dimnames=list(c('1','2','3','4 '),1:61)) > 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/1m3jz1258118263.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.9 6.1 137.7 469.357 [2,] 98.1 7.3 174.8 525.919 [3,] 104.2 8.0 201.6 564.591 [4,] 112.9 8.4 235.9 593.408 [5,] 122.4 9.3 321.9 628.884 $n [1] 61 61 61 61 $conf [,1] [,2] [,3] [,4] [1,] 101.2060 7.777472 189.2396 550.9381 [2,] 107.1940 8.222528 213.9604 578.2439 $out [1] 333.8 347.7 383.2 407.1 413.6 362.7 $group [1] 3 3 3 3 3 3 $names [1] "1" "2" "3" "4\r" Warning messages: 1: In axis(side = 1, at = 1:4, labels = c("1", "2", "3", "4\r")) : font width unknown for character 0xd 2: In axis(side = 1, at = 1:4, labels = c("1", "2", "3", "4\r")) : font width unknown for character 0xd > 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/2sg571258118263.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/3i3vb1258118263.tab") > > system("convert tmp/1m3jz1258118263.ps tmp/1m3jz1258118263.png") > > > proc.time() user system elapsed 0.373 0.162 0.454