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(117.1,95.1,118.7,97,126.5,112.7,127.5,102.9,134.6,97.4,131.8,111.4,135.9,87.4,142.7,96.8,141.7,114.1,153.4,110.3,145,103.9,137.7,101.6,148.3,94.6,152.2,95.9,169.4,104.7,168.6,102.8,161.1,98.1,174.1,113.9,179,80.9,190.6,95.7,190,113.2,181.6,105.9,174.8,108.8,180.5,102.3,196.8,99,193.8,100.7,197,115.5,216.3,100.7,221.4,109.9,217.9,114.6,229.7,85.4,227.4,100.5,204.2,114.8,196.6,116.5,198.8,112.9,207.5,102,190.7,106,201.6,105.3,210.5,118.8,223.5,106.1,223.8,109.3,231.2,117.2,244,92.5,234.7,104.2,250.2,112.5,265.7,122.4,287.6,113.3,283.3,100,295.4,110.7,312.3,112.8,333.8,109.8,347.7,117.3,383.2,109.1,407.1,115.9,413.6,96,362.7,99.8,321.9,116.8,239.4,115.7,191,99.4,159.7,94.3,163.4,91),dim=c(2,61),dimnames=list(c('Prijsindexgrondst','Tot.indus.prod'),1:61)) > y <- array(NA,dim=c(2,61),dimnames=list(c('Prijsindexgrondst','Tot.indus.prod'),1:61)) > 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/11lky1257800846.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] [,2] [1,] 117.1 80.9 [2,] 161.1 99.0 [3,] 196.8 105.3 [4,] 234.7 112.9 [5,] 333.8 122.4 $n [1] 61 61 $conf [,1] [,2] [1,] 181.9108 102.4881 [2,] 211.6892 108.1119 $out [1] 347.7 383.2 407.1 413.6 362.7 $group [1] 1 1 1 1 1 $names [1] "Prijsindexgrondst" "Tot.indus.prod" > 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/2rhc21257800846.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/3k9u91257800846.tab") > > system("convert tmp/11lky1257800846.ps tmp/11lky1257800846.png") > > > proc.time() user system elapsed 0.385 0.169 0.571