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(101.3 + ,89.3 + ,84 + ,98.41 + ,106.3 + ,90.3 + ,84.5 + ,85.90 + ,94 + ,91.1 + ,87.3 + ,95.82 + ,102.8 + ,90.1 + ,86.3 + ,92.56 + ,102 + ,86.7 + ,85 + ,94.39 + ,105.1 + ,85.1 + ,86.5 + ,100.13 + ,92.4 + ,83.4 + ,85.4 + ,91.25 + ,81.4 + ,82 + ,81.2 + ,80.19 + ,105.8 + ,80.4 + ,81.5 + ,95.15 + ,120.3 + ,81.9 + ,82.2 + ,110.43 + ,100.7 + ,93.8 + ,86.4 + ,85.55 + ,88.8 + ,94.8 + ,86.9 + ,66.89 + ,94.3 + ,92.3 + ,88.6 + ,79.93 + ,99.9 + ,87.5 + ,91.6 + ,79.84 + ,103.4 + ,83.2 + ,89.7 + ,83.36 + ,103.3 + ,82 + ,85.9 + ,82.29 + ,98.8 + ,80.3 + ,89.8 + ,73.23 + ,104.2 + ,81.8 + ,91.4 + ,74.60 + ,91.2 + ,85.1 + ,93.1 + ,77.40 + ,74.7 + ,84.2 + ,95.1 + ,67.59 + ,108.5 + ,84.4 + ,94.9 + ,89.97 + ,114.5 + ,84.5 + ,101.2 + ,94.45 + ,96.9 + ,93.3 + ,105.6 + ,85.08 + ,89.6 + ,93.2 + ,112.2 + ,70.70 + ,97.1 + ,100.3 + ,119.7 + ,72.94 + ,100.3 + ,111.4 + ,128.2 + ,77.08 + ,122.6 + ,114.9 + ,129.6 + ,90.35 + ,115.4 + ,109.5 + ,129.9 + ,104.03 + ,109 + ,109.9 + ,121.7 + ,90.17 + ,129.1 + ,105.8 + ,125.7 + ,104.79 + ,102.8 + ,110.8 + ,130.4 + ,100.54 + ,96.2 + ,108.8 + ,128.5 + ,83.65 + ,127.7 + ,116.1 + ,130 + ,104.52 + ,128.9 + ,109.8 + ,136.7 + ,119.66 + ,126.5 + ,113.8 + ,138.1 + ,104.70 + ,119.8 + ,113.8 + ,139.5 + ,100.89 + ,113.2 + ,117.4 + ,140.4 + ,110.43 + ,114.1 + ,119.5 + ,144.6 + ,103.36 + ,134.1 + ,122.6 + ,151.4 + ,113.46 + ,130 + ,120.7 + ,147.9 + ,113.55 + ,121.8 + ,119 + ,141.5 + ,106.56 + ,132.1 + ,126.1 + ,143.8 + ,116.52 + ,105.3 + ,133.9 + ,143.6 + ,101.87 + ,103 + ,138.1 + ,150.5 + ,111.16 + ,117.1 + ,140.4 + ,150.1 + ,114.62 + ,126.3 + ,148.2 + ,154.9 + ,106.36 + ,138.1 + ,148.2 + ,162.1 + ,124.87 + ,119.5 + ,155.9 + ,176.7 + ,102.46 + ,138 + ,171.1 + ,186.6 + ,129.96 + ,135.5 + ,171.9 + ,194.8 + ,141.66 + ,178.6 + ,188.8 + ,196.3 + ,162.42 + ,162.2 + ,214.9 + ,228.8 + ,157.73 + ,176.9 + ,228.5 + ,267.2 + ,177.29 + ,204.9 + ,220 + ,237.2 + ,197.46 + ,132.2 + ,225.4 + ,254.7 + ,160.53 + ,142.5 + ,220.7 + ,258.2 + ,146.96 + ,164.3 + ,219.7 + ,257.9 + ,171.94 + ,174.9 + ,232.1 + ,269.6 + ,198.77 + ,175.4 + ,223.5 + ,266.9 + ,191.38 + ,143 + ,218.9 + ,269.6 + ,164.02) + ,dim=c(4 + ,60) + ,dimnames=list(c('omzet' + ,'verkoopprijs' + ,'aankoopprijs' + ,'uitvoer') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('omzet','verkoopprijs','aankoopprijs','uitvoer'),1:60)) > 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/14na21258323740.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,] 74.70 80.30 81.20 66.890 [2,] 101.00 88.40 89.75 85.315 [3,] 113.65 110.35 129.75 101.380 [4,] 131.05 144.30 153.15 115.570 [5,] 175.40 225.40 237.20 160.530 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 107.5205 98.94768 116.8179 95.20867 [2,] 119.7795 121.75232 142.6821 107.55133 $out [1] 178.60 176.90 204.90 228.50 232.10 267.20 254.70 258.20 257.90 269.60 [11] 266.90 269.60 162.42 177.29 197.46 171.94 198.77 191.38 164.02 $group [1] 1 1 1 2 2 3 3 3 3 3 3 3 4 4 4 4 4 4 4 $names [1] "omzet" "verkoopprijs" "aankoopprijs" "uitvoer" > 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/2bcyw1258323740.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/3tw241258323740.tab") > system("convert tmp/14na21258323740.ps tmp/14na21258323740.png") > > > proc.time() user system elapsed 0.359 0.212 0.483