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(100 + ,100 + ,100 + ,100 + ,89.69 + ,79.44 + ,99.01 + ,100.14 + ,116.58 + ,98.18 + ,118.61 + ,104.40 + ,116.92 + ,98.38 + ,117.73 + ,107.75 + ,115.48 + ,91.33 + ,116.61 + ,109.31 + ,108.51 + ,94.30 + ,122.82 + ,99.29 + ,104.63 + ,88.00 + ,109.30 + ,104.75 + ,108.18 + ,92.25 + ,115.43 + ,106.04 + ,124.69 + ,106.55 + ,132.32 + ,113.84 + ,115.18 + ,102.79 + ,120.32 + ,106.40 + ,108.83 + ,106.08 + ,114.40 + ,112.40 + ,117.51 + ,114.67 + ,125.48 + ,128.75 + ,98.83 + ,112.27 + ,103.44 + ,104.85 + ,96.96 + ,89.69 + ,107.43 + ,110.58 + ,120.99 + ,119.71 + ,129.70 + ,112.91 + ,113.88 + ,104.41 + ,118.99 + ,106.89 + ,123.23 + ,110.11 + ,132.91 + ,123.23 + ,116.09 + ,105.14 + ,135.71 + ,119.30 + ,113.14 + ,100.80 + ,127.72 + ,117.33 + ,113.61 + ,105.35 + ,128.96 + ,105.85 + ,135.24 + ,123.91 + ,154.16 + ,132.58 + ,110.91 + ,98.82 + ,123.30 + ,102.96 + ,123.30 + ,118.74 + ,133.85 + ,115.90 + ,129.52 + ,108.92 + ,135.32 + ,118.61 + ,110.02 + ,111.73 + ,116.11 + ,105.22 + ,105.56 + ,89.59 + ,119.60 + ,108.47 + ,125.72 + ,112.05 + ,134.33 + ,111.18 + ,129.24 + ,113.23 + ,135.09 + ,127.19 + ,129.03 + ,114.58 + ,136.69 + ,126.80 + ,109.61 + ,107.11 + ,124.94 + ,111.54 + ,123.09 + ,106.35 + ,130.38 + ,123.75 + ,118.60 + ,111.07 + ,129.50 + ,111.99 + ,135.51 + ,130.13 + ,146.21 + ,127.18 + ,120.37 + ,106.22 + ,126.50 + ,119.89 + ,126.63 + ,118.36 + ,136.81 + ,130.02 + ,133.48 + ,123.46 + ,141.74 + ,125.43 + ,120.03 + ,133.69 + ,133.33 + ,130.78 + ,110.65 + ,113.88 + ,123.12 + ,121.64 + ,127.14 + ,116.56 + ,136.36 + ,122.60 + ,142.65 + ,129.01 + ,152.99 + ,147.71 + ,134.47 + ,115.93 + ,146.53 + ,143.75 + ,111.64 + ,114.49 + ,139.80 + ,120.14 + ,137.18 + ,113.85 + ,151.84 + ,155.77 + ,138.49 + ,116.40 + ,154.40 + ,116.28 + ,138.66 + ,121.21 + ,158.06 + ,139.52 + ,146.87 + ,136.27 + ,162.90 + ,160.84 + ,134.90 + ,131.79 + ,148.52 + ,147.24 + ,154.59 + ,136.87 + ,171.15 + ,159.48 + ,137.18 + ,151.42 + ,153.40 + ,166.31 + ,117.36 + ,107.22 + ,137.12 + ,148.44 + ,143.09 + ,143.51 + ,159.61 + ,172.49 + ,143.50 + ,130.53 + ,159.54 + ,164.76 + ,116.08 + ,100.15 + ,134.36 + ,137.79 + ,103.39 + ,101.39 + ,119.85 + ,136.64 + ,106.08 + ,83.67 + ,114.12 + ,132.69 + ,105.45 + ,96.99 + ,115.74 + ,117.45 + ,113.61 + ,104.78 + ,126.13 + ,122.97 + ,107.44 + ,95.97 + ,116.92 + ,106.63 + ,103.27 + ,97.31 + ,112.18 + ,104.38 + ,116.81 + ,108.31 + ,131.89 + ,112.74 + ,109.68 + ,105.90 + ,116.64 + ,103.70) + ,dim=c(4 + ,61) + ,dimnames=list(c('IntraEU' + ,'ExtraEU' + ,'IntraEU' + ,'ExtraEU') + ,1:61)) > y <- array(NA,dim=c(4,61),dimnames=list(c('IntraEU','ExtraEU','IntraEU','ExtraEU'),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/1wp4h1258297616.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,] 89.69 79.44 99.01 99.29 [2,] 109.68 100.15 118.61 107.75 [3,] 116.92 108.31 129.70 118.61 [4,] 129.24 116.56 137.12 130.78 [5,] 154.59 136.87 162.90 164.76 $n [1] 61 61 61 61 $conf [,1] [,2] [,3] [,4] [1,] 112.9630 104.9903 125.9555 113.9511 [2,] 120.8770 111.6297 133.4445 123.2689 $out [1] 151.42 143.51 171.15 166.31 172.49 $group [1] 2 2 3 4 4 $names [1] "IntraEU" "ExtraEU" "IntraEU" "ExtraEU" > 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/2arq51258297616.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/3fdu01258297616.tab") > system("convert tmp/1wp4h1258297616.ps tmp/1wp4h1258297616.png") > > > proc.time() user system elapsed 0.374 0.167 0.503