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. 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(428800 + ,424800 + ,403400 + ,398400 + ,393500 + ,380500 + ,398300 + ,387300 + ,370400 + ,372800 + ,444600 + ,449900 + ,458100 + ,424800 + ,420600 + ,400100 + ,393000 + ,387100 + ,377500 + ,400400 + ,391400 + ,363600 + ,431000 + ,441700 + ,448500 + ,415600 + ,408000 + ,416600 + ,409300 + ,387600 + ,394500 + ,407600 + ,378500 + ,359600 + ,435700 + ,433800 + ,427700 + ,413300 + ,379500 + ,379300 + ,353700 + ,378200 + ,380600 + ,394000 + ,374000 + ,375000 + ,437600 + ,443900 + ,488800 + ,463900 + ,440000 + ,453800 + ,451600 + ,453400 + ,461400 + ,509100 + ,540600 + ,555100 + ,677400 + ,694600 + ,750100 + ,733900 + ,709300 + ,720500 + ,693200 + ,687200 + ,686800 + ,720900 + ,653100 + ,624700 + ,690000 + ,717800 + ,736500 + ,699900 + ,675600 + ,635600 + ,632500 + ,594900 + ,604000 + ,620800 + ,578400 + ,571200 + ,627400 + ,657700 + ,674100 + ,672800 + ,615300 + ,609100 + ,607600 + ,566900 + ,572700 + ,589200 + ,534800 + ,543100 + ,591100 + ,624800 + ,665300 + ,642600 + ,608700 + ,594500 + ,563800 + ,596100 + ,597600 + ,633100 + ,591000 + ,584200 + ,655800 + ,670700 + ,699700 + ,712900 + ,652000 + ,635100 + ,603100 + ,610100 + ,602000 + ,597600 + ,585400 + ,567100 + ,620600 + ,646200 + ,644800 + ,645200 + ,644800 + ,593000 + ,569100 + ,518800 + ,538700 + ,554600 + ,507900 + ,488400 + ,563300 + ,592400 + ,598100 + ,546300 + ,516100 + ,518500 + ,477400 + ,483400 + ,469400 + ,501300 + ,457400 + ,446700 + ,501900 + ,550400 + ,593700 + ,548900 + ,534200 + ,550500 + ,541800 + ,569300 + ,587400 + ,627700 + ,607000 + ,629500 + ,704600 + ,767700 + ,812200 + ,824600 + ,856300 + ,812200 + ,764100 + ,801700 + ,806000 + ,867200 + ,801600 + ,817500 + ,920900 + ,959700 + ,997700 + ,949100 + ,910900 + ,920400 + ,914200 + ,926300 + ,906400 + ,926100 + ,902500 + ,895300 + ,979900 + ,1009700 + ,1043800 + ,979800 + ,921600 + ,923500 + ,914500 + ,891700 + ,916000 + ,931700 + ,902400 + ,893700 + ,941500 + ,980100 + ,1006900 + ,949200 + ,883200 + ,849900 + ,839200 + ,803900 + ,797900 + ,830800 + ,753300 + ,764100 + ,807600 + ,853700 + ,886200 + ,815700 + ,743000 + ,753600 + ,724800 + ,709600 + ,721900) + ,dim=c(1 + ,211) + ,dimnames=list(c('') + ,1:211)) > y <- array(NA,dim=c(1,211),dimnames=list(c(''),1:211)) > 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/14o111236181036.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] [1,] 353700 [2,] 457750 [3,] 603100 [4,] 746550 [5,] 1043800 $n [1] 211 $conf [,1] [1,] 571686.7 [2,] 634513.3 $out numeric(0) $group numeric(0) $names [1] "V1" > 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/21tzi1236181036.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/3xqr31236181036.tab") > > system("convert tmp/14o111236181036.ps tmp/14o111236181036.png") > > > proc.time() user system elapsed 0.375 0.147 0.453