R version 2.6.0 (2007-10-03) 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(85.6 + ,92.81 + ,88 + ,75.6 + ,89 + ,59.04 + ,88.4 + ,48.7 + ,97.5 + ,72.81 + ,95 + ,111.7 + ,104 + ,91.81 + ,101.8 + ,119.5 + ,99.4 + ,68.07 + ,107.6 + ,103.4 + ,103.2 + ,49.16 + ,118.9 + ,96.3 + ,103 + ,124.61 + ,126.9 + ,96.6 + ,91.2 + ,109.89 + ,106.3 + ,110.4 + ,85.9 + ,110.51 + ,109.2 + ,104.4 + ,80.7 + ,114.77 + ,104.6 + ,110.7 + ,86.7 + ,92.37 + ,100.8 + ,93.6 + ,80.7 + ,103.63 + ,92.1 + ,114.8 + ,81.5 + ,90.43 + ,86.4 + ,74.9 + ,83.4 + ,65.86 + ,96 + ,69.8 + ,83.5 + ,83.33 + ,98.5 + ,104.2 + ,89.5 + ,94.49 + ,112 + ,109.3 + ,85.8 + ,68.98 + ,113.9 + ,92.7 + ,77.4 + ,55.46 + ,120 + ,91.7 + ,67.5 + ,132.89 + ,126.7 + ,84.4 + ,63.7 + ,121.71 + ,112.8 + ,94.5 + ,59.4 + ,127.01 + ,116.2 + ,103.6 + ,62 + ,134.04 + ,110.6 + ,105.9 + ,62.4 + ,106.48 + ,105 + ,108 + ,58.1 + ,117.55 + ,101.2 + ,119.9 + ,58 + ,101.61 + ,99.3 + ,84.5 + ,56.3 + ,82.66 + ,101.9 + ,76.7 + ,61.4 + ,89.28 + ,106.4 + ,120.5 + ,59.8 + ,109.24 + ,118.9 + ,119.6 + ,54.3 + ,88.16 + ,121.9 + ,102.3 + ,47 + ,59.23 + ,132 + ,101.7 + ,50.5 + ,164.21 + ,121.4 + ,86.9 + ,48.1 + ,125.13 + ,117 + ,93.6 + ,58.8 + ,152.68 + ,122.7 + ,113.6 + ,70.4 + ,132.96 + ,113 + ,106.7 + ,71.9 + ,112.42 + ,104 + ,96.1 + ,73.3 + ,136.43 + ,101.2 + ,124.6 + ,83.5 + ,107.32 + ,100.8 + ,72.5 + ,90.1 + ,87.61 + ,98.9 + ,89 + ,101.3 + ,97.86 + ,103 + ,115.3 + ,98.3 + ,106.60 + ,117.8 + ,119.1 + ,106.7 + ,92.17 + ,126.6 + ,104.4 + ,109.9 + ,65.31 + ,127.6 + ,104.9 + ,111.1 + ,161.49 + ,115.8 + ,76.9 + ,119 + ,162.25 + ,114.8 + ,95.3 + ,120.7 + ,175.13 + ,119.2 + ,114.9 + ,104.5 + ,147.28 + ,109.9 + ,98.9 + ,121.6 + ,144.48 + ,98.9 + ,102.9 + ,129.6 + ,122.67 + ,98.6 + ,90 + ,124.5 + ,102.27 + ,96.6 + ,81 + ,130.1 + ,88.64 + ,96.7 + ,66.2 + ,142.3 + ,89.59 + ,103.5 + ,86.7 + ,140 + ,112.20 + ,115.3 + ,86.7 + ,143.3 + ,91.98 + ,122.5 + ,103.4 + ,113.4 + ,57.85 + ,125.3 + ,89.5 + ,113.8 + ,160.49 + ,111.2 + ,113.7 + ,120.7 + ,128.33 + ,110.7 + ,120.2 + ,112.9 + ,140.69 + ,114.2 + ,137.8 + ,115.5 + ,126.61 + ,105.6 + ,99.1 + ,121.9 + ,129.27 + ,95.5 + ,110.4 + ,119.3 + ,124.27 + ,97.3 + ,112.3 + ,111 + ,112.90 + ,95.5 + ,82.2 + ,114.2 + ,92.54 + ,96.3 + ,72.2 + ,113.5 + ,85.70 + ,100.2 + ,106.7 + ,94 + ,116.72 + ,113.4 + ,106.4 + ,83.2 + ,92.08 + ,121.4 + ,110 + ,82.8 + ,58.98 + ,122.1 + ,87.5 + ,85.8 + ,154.50 + ,119.3 + ,79.7 + ,88.7 + ,145.55 + ,110.8 + ,83.3 + ,105.3 + ,146.60 + ,110.1 + ,91.8 + ,113.1 + ,143.51 + ,99.7 + ,89.2 + ,113.8 + ,113.52 + ,104.8 + ,90.6 + ,109.4 + ,104.80 + ,105.4 + ,92.6) + ,dim=c(4 + ,72) + ,dimnames=list(c('olie' + ,'wagens' + ,'electr' + ,'vervoersm') + ,1:72)) > y <- array(NA,dim=c(4,72),dimnames=list(c('olie','wagens','electr','vervoersm'),1:72)) > 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: 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/198gb1197824098.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] [,3] [,4] [1,] 47.00 49.160 86.40 66.2 [2,] 75.35 89.435 99.95 87.2 [3,] 90.65 108.280 108.40 99.0 [4,] 113.25 128.800 117.40 110.2 [5,] 143.30 175.130 132.00 137.8 $n [1] 72 72 72 72 $conf [,1] [,2] [,3] [,4] [1,] 83.59284 100.9500 105.1507 94.71729 [2,] 97.70716 115.6100 111.6493 103.28271 $out [1] 48.7 $group [1] 4 $names [1] "olie" "wagens" "electr" "vervoersm" > 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/2ntxr1197824098.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/31ryy1197824098.tab") > > system("convert tmp/198gb1197824098.ps tmp/198gb1197824098.png") > > > proc.time() user system elapsed 0.615 0.151 0.696