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 + ,101.12 + ,84.21 + ,97.42 + ,99.93 + ,101.12 + ,89.47 + ,100.61 + ,100.89 + ,101.12 + ,105.26 + ,102.86 + ,101.61 + ,101.12 + ,131.58 + ,97.41 + ,107.26 + ,101.12 + ,126.32 + ,98.23 + ,109.16 + ,101.12 + ,121.05 + ,98.68 + ,106.62 + ,101.12 + ,121.05 + ,100.04 + ,103.56 + ,101.12 + ,110.53 + ,100.79 + ,102.64 + ,101.12 + ,126.32 + ,102.22 + ,104.71 + ,101.12 + ,115.79 + ,102.86 + ,105.95 + ,102.25 + ,126.32 + ,100.52 + ,107.59 + ,101.12 + ,100.00 + ,98.46 + ,107.72 + ,101.12 + ,110.53 + ,98.99 + ,108.29 + ,102.25 + ,110.53 + ,99.87 + ,107.38 + ,101.12 + ,110.53 + ,100.72 + ,109.85 + ,101.12 + ,105.26 + ,101.25 + ,114.94 + ,101.12 + ,110.53 + ,107.41 + ,118.38 + ,101.12 + ,115.79 + ,107.34 + ,117.76 + ,100.00 + ,115.79 + ,108.33 + ,115.87 + ,100.00 + ,136.84 + ,113.19 + ,114.03 + ,100.00 + ,131.58 + ,118.96 + ,114.36 + ,100.00 + ,121.05 + ,123.28 + ,125.35 + ,98.88 + ,115.79 + ,130.67 + ,125.35 + ,98.88 + ,126.32 + ,137.60 + ,122.21 + ,97.75 + ,121.05 + ,141.26 + ,122.16 + ,97.75 + ,115.79 + ,140.83 + ,119.34 + ,95.51 + ,131.58 + ,151.42 + ,122.70 + ,95.51 + ,131.58 + ,161.44 + ,128.63 + ,94.38 + ,131.58 + ,143.50 + ,132.16 + ,92.13 + ,126.32 + ,151.84 + ,127.14 + ,92.13 + ,121.05 + ,149.85 + ,125.11 + ,91.01 + ,89.47 + ,143.21 + ,123.70 + ,91.01 + ,84.21 + ,141.48 + ,121.88 + ,89.89 + ,100.00 + ,148.04 + ,123.10 + ,88.76 + ,100.00 + ,144.80 + ,122.37 + ,87.64 + ,94.74 + ,147.39 + ,122.52 + ,86.52 + ,94.74 + ,154.66 + ,124.67 + ,85.39 + ,100.00 + ,150.69 + ,127.33 + ,84.27 + ,100.00 + ,152.99 + ,129.43 + ,84.27 + ,100.00 + ,150.78 + ,133.76 + ,84.27 + ,100.00 + ,148.66 + ,135.29 + ,84.27 + ,94.74 + ,147.53 + ,126.37 + ,84.27 + ,89.47 + ,148.37 + ,121.33 + ,83.15 + ,110.53 + ,155.52 + ,121.32 + ,83.15 + ,136.84 + ,161.14 + ,113.43 + ,82.02 + ,163.16 + ,167.42 + ,120.76 + ,82.02 + ,163.16 + ,167.88 + ,118.63 + ,82.02 + ,168.42 + ,183.48 + ,122.22 + ,80.90 + ,173.68 + ,190.61 + ,121.04 + ,80.90 + ,189.47 + ,190.24 + ,122.52 + ,82.02 + ,173.68 + ,175.82 + ,123.02 + ,83.15 + ,194.74 + ,174.47 + ,128.80 + ,83.15 + ,210.53 + ,173.99 + ,126.41 + ,84.27 + ,210.53 + ,181.44 + ,119.65 + ,85.39 + ,200.00 + ,171.04 + ,117.56 + ,86.52 + ,189.47 + ,174.86 + ,119.35 + ,88.76 + ,168.42 + ,185.85 + ,116.78 + ,89.89 + ,110.53 + ,181.60 + ,120.19 + ,92.13 + ,84.21 + ,185.90 + ,114.26) + ,dim=c(4 + ,60) + ,dimnames=list(c('werkl' + ,'infl' + ,'goud' + ,'werkl') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('werkl','infl','goud','werkl'),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/19cs31258118897.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=8.3333333333333) > (r<-boxplot(z ,xlab=xlab,ylab=ylab,main=main,notch=TRUE,col=par1)) $stats [,1] [,2] [,3] [,4] [1,] 80.900 84.21 97.41 99.930 [2,] 84.270 100.00 102.54 109.505 [3,] 93.255 115.79 144.15 119.920 [4,] 101.120 131.58 161.29 123.400 [5,] 102.250 173.68 190.61 135.290 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 89.81799 109.3484 132.1663 117.0857 [2,] 96.69201 122.2316 156.1337 122.7543 $out [1] 189.47 194.74 210.53 210.53 200.00 189.47 $group [1] 2 2 2 2 2 2 $names [1] "werkl" "infl" "goud" "werkl" > 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/2w7qb1258118897.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/3u7uc1258118897.tab") > > system("convert tmp/19cs31258118897.ps tmp/19cs31258118897.png") > > > proc.time() user system elapsed 0.391 0.166 0.454