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(106.48 + ,107.11 + ,107.56 + ,104.94 + ,106.83 + ,107.57 + ,107.70 + ,106.13 + ,107.14 + ,107.81 + ,107.67 + ,104.83 + ,107.94 + ,108.75 + ,107.67 + ,105.23 + ,108.46 + ,109.43 + ,107.72 + ,105.53 + ,108.81 + ,109.62 + ,108.35 + ,105.71 + ,108.92 + ,109.54 + ,108.25 + ,106.37 + ,108.99 + ,109.53 + ,108.26 + ,106.17 + ,109.16 + ,109.84 + ,108.31 + ,106.56 + ,109.22 + ,109.67 + ,108.33 + ,106.27 + ,109.43 + ,109.79 + ,108.36 + ,108.48 + ,109.23 + ,109.56 + ,108.36 + ,108.74 + ,109.93 + ,110.22 + ,108.97 + ,108.61 + ,110.09 + ,110.40 + ,109.62 + ,110.09 + ,110.33 + ,110.69 + ,109.60 + ,109.02 + ,110.11 + ,110.72 + ,109.64 + ,105.71 + ,110.35 + ,110.89 + ,109.65 + ,106.06 + ,110.09 + ,110.58 + ,109.64 + ,106.21 + ,110.44 + ,110.94 + ,109.93 + ,106.53 + ,110.39 + ,110.91 + ,109.81 + ,106.53 + ,110.62 + ,111.22 + ,109.77 + ,106.36 + ,110.43 + ,111.09 + ,110.10 + ,104.19 + ,110.46 + ,111.00 + ,110.40 + ,105.49 + ,110.55 + ,111.06 + ,110.50 + ,106.28 + ,110.94 + ,111.55 + ,111.89 + ,105.08 + ,111.56 + ,112.32 + ,112.10 + ,106.81 + ,111.82 + ,112.64 + ,111.92 + ,105.99 + ,111.73 + ,112.36 + ,112.15 + ,106.16 + ,111.57 + ,112.04 + ,112.16 + ,105.49 + ,111.85 + ,112.37 + ,112.17 + ,105.81 + ,112.06 + ,112.59 + ,112.32 + ,106.15 + ,112.2 + ,112.89 + ,112.38 + ,105.70 + ,112.47 + ,113.22 + ,112.34 + ,106.02 + ,112.15 + ,112.85 + ,113.14 + ,105.42 + ,112.36 + ,113.06 + ,113.18 + ,106.37 + ,112.32 + ,112.99 + ,113.21 + ,107.05 + ,112.67 + ,113.32 + ,113.76 + ,106.22 + ,113.02 + ,113.74 + ,113.99 + ,107.86 + ,113.05 + ,113.91 + ,113.95 + ,105.40 + ,113.5 + ,114.52 + ,113.93 + ,106.15 + ,113.67 + ,114.96 + ,114.01 + ,105.95 + ,113.65 + ,114.91 + ,114.10 + ,105.91 + ,114.00 + ,115.30 + ,114.11 + ,106.87 + ,114.03 + ,115.44 + ,114.10 + ,105.99 + ,114.08 + ,115.52 + ,114.12 + ,106.05 + ,114.49 + ,116.08 + ,114.68 + ,106.00 + ,114.48 + ,115.94 + ,114.71 + ,106.70 + ,114.25 + ,115.56 + ,114.73 + ,106.37 + ,114.68 + ,115.88 + ,115.81 + ,107.84 + ,115.28 + ,116.66 + ,116.01 + ,108.34 + ,115.9 + ,117.41 + ,116.12 + ,107.63 + ,115.87 + ,117.68 + ,116.49 + ,105.49 + ,116.09 + ,117.85 + ,116.51 + ,106.32 + ,116.29 + ,118.21 + ,116.60 + ,106.79 + ,116.76 + ,118.92 + ,117.01 + ,107.57 + ,116.78 + ,119.03 + ,117.01 + ,106.78 + ,116.65 + ,119.17 + ,117.12 + ,106.42 + ,116.46 + ,118.95 + ,117.22 + ,106.83 + ,116.82 + ,118.92 + ,118.38 + ,108.19 + ,116.91 + ,118.90 + ,118.80 + ,107.98) + ,dim=c(4 + ,60) + ,dimnames=list(c('Gezind' + ,'Algind' + ,'Gezuitg' + ,'Rec&cult') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('Gezind','Algind','Gezuitg','Rec&cult'),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/1k6z91258022353.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,] 106.480 107.110 107.560 104.830 [2,] 110.100 110.635 109.630 105.860 [3,] 111.955 112.615 112.245 106.245 [4,] 114.165 115.540 114.400 106.820 [5,] 116.910 119.170 118.800 108.190 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 111.1258 111.6145 111.2720 106.0492 [2,] 112.7842 113.6155 113.2180 106.4408 $out [1] 108.48 108.74 108.61 110.09 109.02 104.19 108.34 $group [1] 4 4 4 4 4 4 4 $names [1] "Gezind" "Algind" "Gezuitg" "Rec&cult" > 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/2fsgc1258022353.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/3kufl1258022353.tab") > > system("convert tmp/1k6z91258022353.ps tmp/1k6z91258022353.png") > > > proc.time() user system elapsed 0.383 0.143 0.484