R version 2.6.1 (2007-11-26) Copyright (C) 2007 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(4356.5,4340.3,4321.5,4302.8,4285.7,4270.5,4253,4236.9,4231.6,4223.7,4209.2,4192.5,4178.5,4167,4159,4148.1,4142.7,4147.6,4146.1,4141,4142.4,4149,4145.3,4154.7,4157.9,4146.7,4140.1,4125.8,4102.7,4076.7,4060.5,4041.7,4016.2,3997.2,3993,3991.3,3971.8,3947.3,3929.8,3914.7,3902.8,3893.3,3887.1,3881.8,3883.4,3883.2,3876.4,3872.4,3872.6,3868.7,3858.7,3818.2,3810.3,3806.8,3811.4,3818.2,3826.8,3833.6,3833,3839.5,3855.1,3860.4,3855.8,3856.3,3861.6,3858.4,3854.1,3851.8,3851.3,3844.8,3833.3,3826.9,3813.1,3795.5,3779.7,3765.5,3747.7,3735.4,3735.8,3705.8,3674.3,3665.8,3652.5,3649.7,3649.5,3647.3,3646.8,3640.6,3629.5,3618.4,3611.9,3611.4,3607.7,3606.9,3603.9,3596.9,3604.2,3612.2,3623.5,3639,3647.5,3660.6,3679.4,3691.4,3697.4,3707.1,3722.7),dim=c(1,107),dimnames=list(c('werkgelegenheid'),1:107)) > y <- array(NA,dim=c(1,107),dimnames=list(c('werkgelegenheid'),1:107)) > 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 = 'werkgelegenheid' > xlab = 'reeks' > main = 'Notched Boxplots' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: Wessa P., (2007), Notched Boxplots (v1.0.4) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_notchedbox1.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description > z <- as.data.frame(t(y)) > postscript(file="/var/www/html/rcomp/tmp/1vqph1204543739.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,] 3596.90 [2,] 3714.90 [3,] 3858.40 [4,] 4132.95 [5,] 4356.50 $n [1] 107 $conf [,1] [1,] 3794.545 [2,] 3922.255 $out numeric(0) $group numeric(0) $names [1] "werkgelegenheid" > dev.off() null device 1 > 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/23um51204543739.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/3m8441204543739.tab") > > system("convert tmp/1vqph1204543739.ps tmp/1vqph1204543739.png") > > > proc.time() user system elapsed 0.587 0.158 0.680