R version 2.15.2 (2012-10-26) -- "Trick or Treat" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i686-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(58.58527778 + ,33.60611111 + ,49.03 + ,49.81138889 + ,34.21805556 + ,14.65166667 + ,107.0927778 + ,9.213888889 + ,28.23472222 + ,41.40583333 + ,45.95722222 + ,65.8925 + ,48.14611111 + ,36.98083333 + ,71.90916667 + ,50.02305556 + ,90.22194444 + ,64.15666667 + ,65.77361111 + ,37.63138889 + ,56.36805556 + ,59.76305556 + ,95.63805556 + ,42.75972222 + ,36.92861111 + ,48.53444444 + ,48.44861111 + ,62.65222222 + ,62.12 + ,34.67138889 + ,61.58277778 + ,58.54638889 + ,47.29611111 + ,72.37805556 + ,23.57027778 + ,81.78444444 + ,28.05861111 + ,59.90027778 + ,90.3075 + ,1.993333333 + ,46.53944444 + ,29.55777778 + ,26.82222222 + ,73.82472222 + ,74.90305556 + ,41.42 + ,48.84 + ,42.46416667 + ,31.01805556 + ,32.33555556 + ,100.6391667 + ,21.88888889 + ,50.87972222 + ,77.2125 + ,41.84138889 + ,46.89138889 + ,6.718888889 + ,91.46305556 + ,18.06361111 + ,28.0825 + ,60.81833333 + ,67.79222222 + ,94.88055556 + ,28.77694444 + ,64.81333333 + ,71.23944444 + ,57.26694444 + ,86.52027778 + ,65.5 + ,49.4275 + ,57.54888889 + ,54.59805556 + ,48.38444444 + ,39.79055556 + ,52.09972222 + ,52.13361111 + ,33.06 + ,50.60888889 + ,20.435 + ,54.16083333 + ,46.52444444 + ,39.93222222 + ,76.53916667 + ,67.55527778 + ,50.83305556 + ,37.68027778 + ,42.30527778 + ,33.39472222 + ,96.24583333 + ,40.49722222 + ,53.70527778 + ,22.48694444 + ,34.10388889 + ,36.27361111 + ,31.28083333 + ,79.57444444 + ,66.96277778 + ,41.235 + ,56.86472222 + ,50.5775 + ,38.98444444 + ,61.25444444 + ,67.51666667 + ,45.2125 + ,50.72583333 + ,64.48277778 + ,73.69944444 + ,23.77055556 + ,86.34416667 + ,62.51666667 + ,64.5325 + ,40.26833333 + ,12.02416667 + ,43.265 + ,45.7525 + ,56.09444444 + ,65.40388889 + ,61.33361111 + ,27.62944444 + ,25.73916667 + ,37.03555556 + ,17.04472222 + ,34.98055556 + ,27.98611111 + ,62.37472222 + ,22.86555556 + ,28.33611111 + ,28.20083333 + ,67.64194444 + ,6.371666667 + ,11.54611111 + ,42.35388889 + ,17.1825 + ,27.75638889 + ,36.80194444 + ,88.165 + ,5.848333333 + ,58.23361111 + ,6.291111111 + ,8.726111111 + ,12.97166667 + ,36.58277778 + ,25.48194444 + ,67.98583333 + ,51.25277778 + ,22.18416667 + ,35.67305556 + ,27.1775 + ,10.615 + ,41.9725 + ,75.68277778 + ,47.915 + ,30.01194444 + ,91.14083333 + ,69.60527778 + ,97.51861111 + ,43.89305556 + ,27.46277778 + ,23.73305556 + ,63.67833333 + ,97.67194444 + ,23.39083333 + ,33.45694444 + ,90.16611111 + ,36.40805556 + ,56.74194444 + ,45.98416667 + ,39.36722222 + ,32.23555556 + ,69.4575 + ,83.27083333 + ,54.39944444 + ,48.12777778 + ,70.69111111 + ,28.99694444 + ,37.80111111 + ,55.41 + ,25.69416667 + ,62.31388889 + ,37.71694444 + ,20.66888889 + ,22.56666667 + ,4.08 + ,50.45361111 + ,75.51555556 + ,1.999722222 + ,12.96111111 + ,4.874166667 + ,37.04666667 + ,26.45194444 + ,42.38916667 + ,27.26277778 + ,22.11638889 + ,16.44277778 + ,38.87277778 + ,32.94777778 + ,20.24444444 + ,18.1875 + ,27.67861111 + ,19.99027778 + ,21.46444444 + ,13.69138889 + ,37.53638889 + ,30.12388889 + ,24.92944444 + ,12.30444444 + ,21.56888889 + ,50.42444444 + ,37.2275 + ,34.46222222 + ,25.73055556 + ,33.84666667 + ,14.69861111 + ,22.74222222 + ,16.38361111 + ,14.86527778 + ,16.89222222 + ,15.65972222 + ,18.19166667 + ,22.48583333 + ,21.195 + ,28.89194444 + ,27.25111111 + ,18.88583333 + ,8.608055556 + ,37.62722222 + ,20.41777778 + ,17.53416667 + ,17.015 + ,20.80944444 + ,8.826111111 + ,22.62138889 + ,24.21833333 + ,13.91388889 + ,18.2625 + ,15.73694444 + ,43.99972222 + ,12.90416667 + ,20.45111111 + ,10.66527778 + ,25.5275 + ,38.75722222 + ,14.49 + ,14.32416667 + ,19.5975 + ,23.57111111 + ,28.48277778 + ,24.07722222 + ,23.80805556 + ,9.628333333 + ,41.82777778 + ,27.66972222 + ,5.374722222 + ,27.60361111 + ,23.95277778 + ,8.565833333 + ,8.807222222 + ,24.94611111 + ,17.24666667 + ,11.15305556 + ,7.676111111 + ,21.38611111 + ,10.40555556 + ,15.04361111 + ,13.85055556 + ,23.42694444 + ,17.82638889 + ,16.495 + ,33.14111111 + ,21.30611111 + ,28.72916667 + ,19.54 + ,12.05833333 + ,29.12166667 + ,17.28194444 + ,19.25111111 + ,14.75472222 + ,5.49 + ,24.07777778 + ,23.3625 + ,21.65138889 + ,24.75361111 + ,25.27916667 + ,11.18 + ,17.82972222 + ,14.12694444 + ,15.72583333 + ,17.44222222 + ,20.14861111) + ,dim=c(1 + ,289) + ,dimnames=list(c('TimeInRFC') + ,1:289)) > y <- array(NA,dim=c(1,289),dimnames=list(c('TimeInRFC'),1:289)) > 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/1cght1355336908.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] [1,] 1.993333 [2,] 20.809444 [3,] 33.606111 [4,] 52.099722 [5,] 97.671944 $n [1] 289 $conf [,1] [1,] 30.69796 [2,] 36.51427 $out [1] 107.0928 100.6392 $group [1] 1 1 $names [1] "TimeInRFC" > 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/2ceg31355336908.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/3x0qb1355336908.tab") > > try(system("convert tmp/1cght1355336908.ps tmp/1cght1355336908.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.939 0.220 1.167