R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-bit) 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(56 + ,48 + ,64 + ,62 + ,68 + ,46 + ,63 + ,70 + ,51 + ,46 + ,61 + ,76 + ,56 + ,55 + ,60 + ,71 + ,44 + ,49 + ,68 + ,65 + ,67 + ,75 + ,77 + ,78 + ,54 + ,51 + ,69 + ,75 + ,61 + ,38 + ,65 + ,52 + ,52 + ,52 + ,64 + ,69 + ,46 + ,48 + ,63 + ,53 + ,52 + ,64 + ,63 + ,72 + ,76 + ,42 + ,79 + ,55 + ,30 + ,39 + ,74 + ,66 + ,50 + ,59 + ,73 + ,64 + ,55 + ,49 + ,76 + ,64 + ,18 + ,80 + ,55 + ,83 + ,42 + ,69 + ,76 + ,67 + ,66 + ,63 + ,61 + ,61 + ,66 + ,38 + ,61 + ,53 + ,33 + ,46 + ,55 + ,71 + ,57 + ,37 + ,68 + ,72 + ,58 + ,65 + ,65 + ,71 + ,59 + ,39 + ,54 + ,70 + ,37 + ,64 + ,76 + ,62 + ,62 + ,59 + ,71 + ,65 + ,52 + ,55 + ,74 + ,75 + ,53 + ,72 + ,70 + ,72 + ,58 + ,58 + ,70 + ,64 + ,36 + ,63 + ,62 + ,71 + ,56 + ,50 + ,64 + ,58 + ,51 + ,59 + ,58 + ,75 + ,44 + ,73 + ,59 + ,81 + ,58 + ,38 + ,79 + ,54 + ,37 + ,62 + ,49 + ,67 + ,48 + ,54 + ,64 + ,66 + ,53 + ,73 + ,65 + ,75 + ,51 + ,70 + ,63 + ,61 + ,51 + ,57 + ,62 + ,64 + ,47 + ,47 + ,65 + ,65 + ,64 + ,74 + ,64 + ,72 + ,54 + ,47 + ,55 + ,54 + ,59 + ,55 + ,73 + ,64 + ,36 + ,44 + ,67 + ,59 + ,62 + ,42 + ,75 + ,54 + ,67 + ,47 + ,67 + ,60 + ,70 + ,60 + ,77 + ,69 + ,46 + ,50 + ,58 + ,60 + ,46 + ,63 + ,55 + ,66 + ,41 + ,68 + ,56 + ,69 + ,52 + ,32 + ,69 + ,57 + ,60 + ,47 + ,75 + ,65 + ,40 + ,67 + ,61 + ,74 + ,41 + ,46 + ,59 + ,69 + ,54 + ,67 + ,68 + ,76 + ,42 + ,57 + ,43 + ,57 + ,51 + ,51 + ,70 + ,71 + ,60 + ,62 + ,67 + ,62 + ,49 + ,60 + ,73 + ,64 + ,52 + ,59 + ,72 + ,58 + ,50 + ,56 + ,59 + ,78 + ,47 + ,62 + ,70 + ,72 + ,59 + ,55 + ,66 + ,62 + ,64 + ,48 + ,73 + ,50 + ,52 + ,61 + ,60 + ,63 + ,51 + ,66 + ,63 + ,68 + ,49 + ,81 + ,52 + ,72 + ,48 + ,53 + ,50 + ,61 + ,67 + ,77 + ,44 + ,75 + ,51 + ,70 + ,37 + ,63 + ,51 + ,57 + ,60 + ,70 + ,38 + ,67 + ,52 + ,44 + ,65 + ,81 + ,70 + ,71 + ,44 + ,67 + ,50 + ,61 + ,50 + ,56 + ,57 + ,74 + ,63 + ,68 + ,36 + ,60 + ,54 + ,72 + ,36 + ,74 + ,70 + ,73 + ,47 + ,58 + ,52 + ,67 + ,52 + ,76 + ,69 + ,67 + ,52 + ,68 + ,48 + ,71 + ,51 + ,70 + ,53 + ,61 + ,55 + ,54) + ,dim=c(4 + ,99) + ,dimnames=list(c('IM' + ,'IF' + ,'EM' + ,'EF ') + ,1:99)) > y <- array(NA,dim=c(4,99),dimnames=list(c('IM','IF','EM','EF '),1:99)) > 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' > z <- as.data.frame(t(y)) > postscript(file="/var/wessaorg/rcomp/tmp/1sc4r1318531174.ps",horizontal=F,onefile=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,] 30 32 43.0 50 [2,] 47 48 58.5 61 [3,] 52 57 64.0 66 [4,] 59 67 70.0 72 [5,] 76 81 79.0 83 $n [1] 99 99 99 99 $conf [,1] [,2] [,3] [,4] [1,] 50.09445 53.98288 62.17385 64.25324 [2,] 53.90555 60.01712 65.82615 67.74676 $out [1] 18 18 37 36 36 44 $group [1] 1 1 3 3 3 4 $names [1] "IM" "IF" "EM" "EF\r\r" Warning messages: 1: In axis(side = 1, at = 1:4, labels = c("IM", "IF", "EM", "EF\r\r" : font width unknown for character 0xd 2: In axis(side = 1, at = 1:4, labels = c("IM", "IF", "EM", "EF\r\r" : font width unknown for character 0xd 3: In axis(side = 1, at = 1:4, labels = c("IM", "IF", "EM", "EF\r\r" : font width unknown for character 0xd 4: In axis(side = 1, at = 1:4, labels = c("IM", "IF", "EM", "EF\r\r" : font width unknown for character 0xd > dev.off() null device 1 > > #Note: the /var/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/wessaorg/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/wessaorg/rcomp/tmp/23fd51318531174.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/wessaorg/rcomp/tmp/3dyft1318531175.tab") > > try(system("convert tmp/1sc4r1318531174.ps tmp/1sc4r1318531174.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.500 0.090 0.585