R version 2.11.1 (2010-05-31) Copyright (C) 2010 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(13 + ,2 + ,5 + ,12 + ,1 + ,3 + ,15 + ,0 + ,0 + ,12 + ,3 + ,7 + ,10 + ,3 + ,4 + ,12 + ,1 + ,1 + ,15 + ,3 + ,6 + ,9 + ,1 + ,3 + ,12 + ,4 + ,12 + ,11 + ,0 + ,0 + ,11 + ,3 + ,5 + ,11 + ,2 + ,6 + ,15 + ,4 + ,6 + ,7 + ,3 + ,6 + ,11 + ,1 + ,2 + ,11 + ,1 + ,1 + ,10 + ,2 + ,5 + ,14 + ,3 + ,7 + ,10 + ,1 + ,3 + ,6 + ,1 + ,3 + ,11 + ,2 + ,3 + ,15 + ,3 + ,7 + ,11 + ,4 + ,8 + ,12 + ,2 + ,6 + ,14 + ,1 + ,3 + ,15 + ,2 + ,5 + ,9 + ,2 + ,5 + ,13 + ,4 + ,10 + ,13 + ,2 + ,2 + ,16 + ,3 + ,6 + ,13 + ,3 + ,4 + ,12 + ,3 + ,6 + ,14 + ,4 + ,8 + ,11 + ,2 + ,4 + ,9 + ,2 + ,5 + ,16 + ,4 + ,10 + ,12 + ,3 + ,6 + ,10 + ,4 + ,7 + ,13 + ,2 + ,4 + ,16 + ,5 + ,10 + ,14 + ,3 + ,4 + ,15 + ,1 + ,3 + ,5 + ,1 + ,3 + ,8 + ,1 + ,3 + ,11 + ,2 + ,3 + ,16 + ,3 + ,7 + ,17 + ,9 + ,15 + ,9 + ,0 + ,0 + ,9 + ,0 + ,0 + ,13 + ,2 + ,4 + ,10 + ,2 + ,5 + ,6 + ,3 + ,5 + ,12 + ,1 + ,2 +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+ ,3 + ,3 + ,8 + ,5 + ,9 + ,13 + ,4 + ,7 + ,16 + ,4 + ,8 + ,12 + ,0 + ,0 + ,16 + ,3 + ,7 + ,12 + ,0 + ,0 + ,11 + ,2 + ,5 + ,4 + ,0 + ,0 + ,16 + ,6 + ,14 + ,15 + ,3 + ,5 + ,10 + ,1 + ,2 + ,13 + ,6 + ,8 + ,15 + ,2 + ,4 + ,12 + ,1 + ,2 + ,14 + ,3 + ,6 + ,7 + ,1 + ,3 + ,19 + ,2 + ,5 + ,12 + ,4 + ,9 + ,12 + ,1 + ,3 + ,13 + ,2 + ,3 + ,15 + ,0 + ,0 + ,8 + ,5 + ,10 + ,12 + ,2 + ,4 + ,10 + ,1 + ,2 + ,8 + ,1 + ,3 + ,10 + ,4 + ,10 + ,15 + ,3 + ,7 + ,16 + ,0 + ,0 + ,13 + ,3 + ,6 + ,16 + ,3 + ,8 + ,9 + ,0 + ,0 + ,14 + ,2 + ,4 + ,14 + ,5 + ,10 + ,12 + ,2 + ,5) + ,dim=c(3 + ,156) + ,dimnames=list(c('populariteit' + ,'som' + ,'gewogen-som') + ,1:156)) > y <- array(NA,dim=c(3,156),dimnames=list(c('populariteit','som','gewogen-som'),1:156)) > 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/rcomp/tmp/1bg5y1289594636.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] [1,] 4 0 0 [2,] 10 1 3 [3,] 12 2 5 [4,] 14 3 7 [5,] 19 6 12 $n [1] 156 156 156 $conf [,1] [,2] [,3] [1,] 11.49400 1.746998 4.493995 [2,] 12.50600 2.253002 5.506005 $out [1] 9 15 14 $group [1] 2 3 3 $names [1] "populariteit" "som" "gewogen-som" > dev.off() null device 1 > > #Note: the /var/www/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/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/rcomp/tmp/27q261289594636.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/rcomp/tmp/3zz1r1289594636.tab") > try(system("convert tmp/1bg5y1289594636.ps tmp/1bg5y1289594636.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.550 0.130 0.675