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. Natural language support but running in an English locale 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(23 + ,20 + ,17 + ,21 + ,23 + ,21 + ,24 + ,28 + ,17 + ,19 + ,20 + ,23 + ,22 + ,24 + ,18 + ,25 + ,20 + ,27 + ,24 + ,27 + ,20 + ,17 + ,24 + ,27 + ,27 + ,23 + ,28 + ,20 + ,22 + ,22 + ,27 + ,28 + ,22 + ,22 + ,20 + ,28 + ,24 + ,27 + ,16 + ,21 + ,25 + ,27 + ,23 + ,19 + ,18 + ,17 + ,23 + ,16 + ,27 + ,28 + ,14 + ,17 + ,22 + ,24 + ,28 + ,11 + ,11 + ,22 + ,24 + ,20 + ,27 + ,25 + ,27 + ,25 + ,25 + ,22 + ,24 + ,20 + ,22 + ,15 + ,28 + ,20 + ,25 + ,20 + ,23 + ,22 + ,25 + ,24 + ,24 + ,24 + ,24 + ,21 + ,28 + ,19 + ,20 + ,25 + ,14 + ,16 + ,21 + ,23 + ,26 + ,28 + ,23 + ,28 + ,27 + ,27 + ,23 + ,24 + ,24 + ,22 + ,14 + ,21 + ,23 + ,21 + ,24 + ,21 + ,14 + ,19 + ,20 + ,22 + ,8 + ,12 + ,27 + ,19 + ,24 + ,20 + ,23 + ,25 + ,21 + ,26 + ,23 + ,20 + ,21 + ,24 + ,21 + ,28 + ,18 + ,23 + ,24 + ,24 + ,12 + ,24 + ,23 + ,21 + ,25 + ,25 + ,28 + ,24 + ,26 + ,12 + ,23 + ,25 + ,22 + ,25 + ,26 + ,23 + ,21 + ,26 + ,27 + ,16 + ,23 + ,28 + ,21 + ,22 + ,26 + ,25 + ,22 + ,24 + ,26 + ,24 + ,22 + ,24 + ,20 + ,24 + ,18 + ,17 + ,24 + ,23 + ,25 + ,25 + ,17 + ,20 + ,22 + ,26 + ,22 + ,21 + ,15 + ,15 + ,21 + ,22 + ,23 + ,26 + ,13 + ,24 + ,23 + ,25 + ,25 + ,28 + ,26 + ,26 + ,28 + ,27 + ,23 + ,21 + ,16 + ,21 + ,10 + ,12 + ,22 + ,27 + ,21 + ,25 + ,21 + ,15 + ,24 + ,22 + ,20 + ,23 + ,21 + ,21 + ,25 + ,23 + ,14 + ,28 + ,24 + ,24 + ,17 + ,24 + ,20 + ,18 + ,25 + ,19 + ,20 + ,22 + ,22 + ,21 + ,23 + ,21 + ,23 + ,23 + ,20 + ,21 + ,21 + ,21 + ,20 + ,25 + ,18 + ,23 + ,17 + ,24 + ,24 + ,21 + ,24 + ,15 + ,25 + ,18 + ,24 + ,22 + ,20 + ,23 + ,23 + ,19 + ,28 + ,20 + ,19 + ,21 + ,28 + ,18 + ,25 + ,21 + ,23 + ,10 + ,19 + ,23 + ,25 + ,19 + ,26 + ,21 + ,26 + ,20 + ,18 + ,26 + ,22 + ,18 + ,18 + ,25 + ,17 + ,20 + ,20 + ,19 + ,18 + ,21 + ,22 + ,22 + ,13 + ,22 + ,21 + ,22 + ,25 + ,23 + ,22 + ,24 + ,22 + ,22 + ,26 + ,22 + ,22 + ,15 + ,27 + ,20 + ,19 + ,24 + ,20 + ,18 + ,22 + ,23 + ,25 + ,23 + ,6 + ,26 + ,28 + ,25 + ,21 + ,23 + ,21 + ,21 + ,26 + ,25 + ,13 + ,27 + ,20 + ,23 + ,10 + ,26 + ,25 + ,21 + ,23 + ,16 + ,22 + ,20 + ,26 + ,23 + ,20 + ,22 + ,21 + ,26 + ,25 + ,25 + ,24 + ,16 + ,24 + ,21 + ,25 + ,23 + ,22 + ,19 + ,25 + ,22 + ,21 + ,22 + ,18 + ,20 + ,20 + ,16 + ,24 + ,28 + ,23 + ,25 + ,23 + ,25 + ,21 + ,28 + ,21 + ,21 + ,24 + ,23 + ,25 + ,20 + ,24 + ,21 + ,24 + ,21 + ,20 + ,18 + ,21 + ,16 + ,20 + ,16 + ,23 + ,NA + ,20 + ,NA + ,20 + ,NA + ,28 + ,NA + ,11 + ,NA + ,27 + ,NA + ,23 + ,NA + ,22 + ,NA + ,23 + ,NA + ,28 + ,NA + ,27 + ,NA + ,26 + ,NA + ,24 + ,NA + ,25 + ,NA + ,23 + ,NA + ,18 + ,NA + ,18 + ,NA + ,17 + ,NA + ,20 + ,NA + ,20 + ,NA + ,21 + ,NA + ,28 + ,NA + ,24 + ,NA + ,25 + ,NA + ,21 + ,NA + ,27 + ,NA + ,27 + ,NA + ,25 + ,NA + ,21 + ,NA + ,24 + ,NA + ,18 + ,NA + ,18 + ,NA + ,27 + ,NA + ,21 + ,NA + ,15 + ,NA + ,21 + ,NA + ,22 + ,NA + ,24 + ,NA + ,24 + ,NA + ,24 + ,NA + ,22 + ,NA + ,21 + ,NA + ,15 + ,NA + ,14 + ,NA + ,15 + ,NA + ,28 + ,NA + ,28 + ,NA + ,25 + ,NA + ,23 + ,NA + ,26 + ,NA + ,22 + ,NA + ,26 + ,NA + ,17 + ,NA + ,24 + ,NA + ,20 + ,NA + ,18 + ,NA + ,23 + ,NA + ,22 + ,NA + ,11 + ,NA + ,23 + ,NA + ,26 + ,NA + ,26 + ,NA + ,22 + ,NA + ,23 + ,NA + ,23 + ,NA + ,22 + ,NA + ,21 + ,NA + ,15 + ,NA + ,24 + ,NA + ,26 + ,NA + ,22 + ,NA + ,24 + ,NA + ,23 + ,NA + ,26 + ,NA + ,25 + ,NA + ,27 + ,NA + ,20 + ,NA + ,26 + ,NA + ,19 + ,NA + ,18 + ,NA + ,21 + ,NA + ,22 + ,NA + ,19 + ,NA + ,26 + ,NA + ,25 + ,NA + ,23 + ,NA + ,28 + ,NA + ,25 + ,NA + ,24 + ,NA + ,18 + ,NA + ,25 + ,NA + ,23 + ,NA + ,20 + ,NA + ,19 + ,NA + ,27 + ,NA + ,25 + ,NA + ,25 + ,NA + ,23 + ,NA + ,22 + ,NA + ,22 + ,NA + ,18 + ,NA + ,21 + ,NA + ,20 + ,NA + ,16 + ,NA + ,18 + ,NA) + ,dim=c(6 + ,98) + ,dimnames=list(c('ME1' + ,'VE1' + ,'ME2' + ,'VE2' + ,'ME3' + ,'VE3') + ,1:98)) > y <- array(NA,dim=c(6,98),dimnames=list(c('ME1','VE1','ME2','VE2','ME3','VE3'),1:98)) > 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/10mlm1287514483.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] [,5] [,6] [1,] 15 18 11 10 15 15 [2,] 21 21 18 18 21 20 [3,] 23 23 21 21 23 22 [4,] 25 25 23 24 25 25 [5,] 28 28 28 28 28 28 $n [1] 98 63 98 63 98 63 $conf [,1] [,2] [,3] [,4] [,5] [,6] [1,] 22.36158 22.20375 20.20198 19.80563 22.36158 21.00469 [2,] 23.63842 23.79625 21.79802 22.19437 23.63842 22.99531 $out [1] 13 11 12 8 6 14 14 12 10 10 12 $group [1] 1 2 2 3 3 5 5 5 5 5 6 $names [1] "ME1" "VE1" "ME2" "VE2" "ME3" "VE3" > 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/2ee1c1287514483.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/3onix1287514483.tab") > try(system("convert tmp/10mlm1287514483.ps tmp/10mlm1287514483.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.749 0.234 0.810