R version 2.9.0 (2009-04-17) Copyright (C) 2009 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(104.65 + ,109.2 + ,103.93 + ,101.93 + ,101.58 + ,102.63 + ,106.83 + ,105.57 + ,105 + ,104.16 + ,106.93 + ,106.5 + ,106.47 + ,112.33 + ,106.81 + ,103.49 + ,104.13 + ,103.2 + ,105.55 + ,102.8 + ,106.68 + ,105.43 + ,109.01 + ,112.24 + ,112.87 + ,110.98 + ,112.85 + ,112.08 + ,110.72 + ,109.69 + ,112.53 + ,112.99 + ,111.74 + ,111.15 + ,114.82 + ,117.38 + ,117.81 + ,122.85 + ,116.96 + ,119.16 + ,117.74 + ,118.84 + ,123.81 + ,120.33 + ,119.2 + ,117.32 + ,128.58 + ,129.2 + ,126.19 + ,132.1 + ,128.12 + ,122.28 + ,122.36 + ,123.13 + ,125.97 + ,126.14 + ,122.7 + ,122.67 + ,129.19 + ,133.01 + ,123.96 + ,128.96 + ,127.32 + ,131.38 + ,125.25 + ,127.91 + ,130.42 + ,128.44 + ,125.86 + ,125.71 + ,130.63 + ,131.78 + ,125.61 + ,131.84 + ,122.14 + ,127.13 + ,124.49 + ,125.48 + ,129.86 + ,126.32 + ,125.56 + ,125.64 + ,128.26 + ,125.47 + ,134.4 + ,134.5 + ,131.22 + ,121.62 + ,124.16 + ,127.5 + ,132.86 + ,127.87 + ,124.07 + ,124.25 + ,131.16 + ,129.24 + ,129.24 + ,135.51 + ,128.97 + ,126.89 + ,127.52 + ,130.31 + ,132.39 + ,132.69 + ,128.73 + ,129.66 + ,127.72 + ,132.63 + ,129.74 + ,138.46 + ,134.31 + ,128.8 + ,129.95 + ,134.15 + ,136.01 + ,135.1 + ,132.27 + ,132.49 + ,130.06 + ,136.11 + ,131.47 + ,140.61 + ,141.65 + ,126.75 + ,133.9 + ,138.75 + ,141.86 + ,141.13 + ,138.76 + ,138.65 + ,138.59 + ,147.09 + ,140.17 + ,152.38 + ,144.02 + ,139.55 + ,141.1 + ,145.85 + ,147.88 + ,145.17) + ,dim=c(1 + ,140) + ,dimnames=list(c('GemiddeldePrijsBuitenlandseReizen') + ,1:140)) > y <- array(NA,dim=c(1,140),dimnames=list(c('GemiddeldePrijsBuitenlandseReizen'),1:140)) > 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/1jlkt1255094911.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,] 101.580 [2,] 115.890 [3,] 126.535 [4,] 131.970 [5,] 152.380 $n [1] 140 $conf [,1] [1,] 124.3878 [2,] 128.6822 $out numeric(0) $group numeric(0) $names [1] "GemiddeldePrijsBuitenlandseReizen" > 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/2ofdb1255094911.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/3wf6k1255094911.tab") > > system("convert tmp/1jlkt1255094911.ps tmp/1jlkt1255094911.png") > > > proc.time() user system elapsed 0.373 0.153 0.445