R version 2.8.1 (2008-12-22) 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(493395.00,487190.00,519493.00,519453.00,538588.00,438224.00,542034.00,512027.00,619880.00,533737.00,573789.00,589213.00,532168.00,551102.00,593789.00,527106.00,547327.00,601305.00,610872.00,601325.00,642143.00,614216.00,657979.00,673098.00,602297.00,615381.00,703671.00,733852.00,716596.00,745798.00,742027.10,679181.20,739022.70,645410.60,729382.10,671052.70,744954.80,677639.30,778207.20,763316.20,658531.60,831700.10,664156.30,621402.10,683588.70,600023.80,643273.80,653615.90,620177.50,574128.80,599828.00,599369.40,596617.70,616114.60,510226.90,493960.10,634503.30,588556.20,603239.00,617458.20,646543.50,680125.60,731595.80,759600.30,785031.70,849573.30,762342.00,815346.60,929603.20,784057.50,944667.70,1007258.30,664292.70,873207.40,1146510.00,1417266.80,1089387.90,1373379.70,1009397.60,818175.10,1003458.10,961142.70,1121906.60,1141713.30,1042352.60,992223.60,920525.30,1076093.40,967880.40,1236416.10),dim=c(1,90),dimnames=list(c('Omzet'),1:90)) > y <- array(NA,dim=c(1,90),dimnames=list(c('Omzet'),1:90)) > 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/12eub1236540418.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,] 438224.0 [2,] 599828.0 [3,] 664224.5 [4,] 815346.6 [5,] 1121906.6 $n [1] 90 $conf [,1] [1,] 628330.6 [2,] 700118.4 $out [1] 1146510 1417267 1373380 1141713 1236416 $group [1] 1 1 1 1 1 $names [1] "Omzet" > 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/258lm1236540418.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/3ys6l1236540419.tab") > > system("convert tmp/12eub1236540418.ps tmp/12eub1236540418.png") > > > proc.time() user system elapsed 0.354 0.151 0.429