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(111.632 + ,123.560 + ,93.028 + ,283.042 + ,106.707 + ,122.117 + ,92.285 + ,276.687 + ,108.827 + ,121.782 + ,91.685 + ,277.915 + ,108.413 + ,121.789 + ,94.260 + ,277.128 + ,106.249 + ,122.273 + ,93.858 + ,277.103 + ,104.861 + ,121.683 + ,92.437 + ,275.037 + ,102.382 + ,119.869 + ,92.980 + ,270.150 + ,100.320 + ,118.873 + ,92.099 + ,267.140 + ,100.228 + ,117.607 + ,92.803 + ,264.993 + ,117.089 + ,122.783 + ,88.551 + ,287.259 + ,121.523 + ,124.454 + ,98.334 + ,291.186 + ,114.948 + ,127.064 + ,98.329 + ,292.300 + ,112.831 + ,125.166 + ,96.455 + ,288.186 + ,107.605 + ,124.554 + ,97.109 + ,281.477 + ,108.928 + ,124.272 + ,97.687 + ,282.656 + ,101.993 + ,128.836 + ,98.512 + ,280.190 + ,102.850 + ,127.408 + ,98.673 + ,280.408 + ,99.925 + ,126.420 + ,96.028 + ,276.836 + ,101.536 + ,124.465 + ,98.014 + ,275.216 + ,99.450 + ,124.526 + ,95.580 + ,274.352 + ,98.305 + ,124.379 + ,97.838 + ,271.311 + ,110.159 + ,130.189 + ,97.760 + ,289.802 + ,109.483 + ,132.196 + ,99.913 + ,290.726 + ,106.810 + ,134.893 + ,97.588 + ,292.300 + ,96.279 + ,132.709 + ,93.942 + ,278.506 + ,91.982 + ,129.955 + ,93.656 + ,269.826 + ,90.276 + ,127.947 + ,92.881 + ,265.861 + ,90.999 + ,130.369 + ,93.120 + ,269.034 + ,86.622 + ,129.852 + ,91.063 + ,264.176 + ,83.117 + ,124.278 + ,90.930 + ,255.198 + ,80.367 + ,126.141 + ,91.946 + ,253.353 + ,77.550 + ,121.743 + ,94.624 + ,246.057 + ,77.443 + ,110.898 + ,65.484 + ,235.372 + ,92.844 + ,117.707 + ,95.862 + ,258.556 + ,92.175 + ,120.738 + ,95.530 + ,260.993 + ,84.822 + ,121.445 + ,94.574 + ,254.663 + ,81.632 + ,120.439 + ,94.677 + ,250.643 + ,78.872 + ,116.313 + ,93.845 + ,243.422 + ,81.485 + ,117.173 + ,91.533 + ,247.105 + ,80.651 + ,119.773 + ,91.214 + ,248.541 + ,78.192 + ,119.639 + ,90.922 + ,245.039 + ,76.844 + ,113.006 + ,89.563 + ,237.080 + ,76.335 + ,113.776 + ,89.945 + ,237.085 + ,71.415 + ,107.866 + ,91.850 + ,225.554 + ,73.889 + ,106.924 + ,92.505 + ,226.839 + ,86.822 + ,114.562 + ,92.437 + ,247.934 + ,86.371 + ,115.367 + ,93.876 + ,248.333 + ,83.469 + ,116.602 + ,93.561 + ,246.969 + ,82.662 + ,114.393 + ,94.119 + ,245.098 + ,82.880 + ,115.140 + ,95.264 + ,246.263 + ,89.406 + ,117.623 + ,96.089 + ,255.765 + ,95.378 + ,119.361 + ,97.160 + ,264.319 + ,97.657 + ,120.527 + ,98.644 + ,268.347 + ,100.247 + ,121.660 + ,96.266 + ,273.046 + ,99.180 + ,122.852 + ,97.938 + ,273.963 + ,97.493 + ,119.325 + ,99.757 + ,267.430 + ,101.628 + ,119.151 + ,101.550 + ,271.993 + ,114.585 + ,126.494 + ,102.449 + ,292.710 + ,115.669 + ,127.832 + ,102.416 + ,295.881 + ,111.311 + ,128.780 + ,102.587 + ,293.299) + ,dim=c(4 + ,60) + ,dimnames=list(c('Vlaand' + ,'Wallonië' + ,'Brussel' + ,'België') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('Vlaand','Wallonië','Brussel','België'),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/1y44m1258120867.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,] 71.4150 106.9240 88.5510 225.554 [2,] 83.2930 118.2900 92.4370 249.592 [3,] 97.9810 121.7855 94.4170 269.430 [4,] 106.7585 126.2805 97.7235 279.348 [5,] 121.5230 134.8930 102.5870 295.881 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 93.19457 120.1556 93.33867 263.3605 [2,] 102.76743 123.4154 95.49533 275.4995 $out [1] 65.484 $group [1] 3 $names [1] "Vlaand" "Walloni\353" "Brussel" "Belgi\353" > 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/21zjs1258120867.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/38ql31258120867.tab") > > system("convert tmp/1y44m1258120867.ps tmp/1y44m1258120867.png") > > > proc.time() user system elapsed 0.385 0.146 0.525