R version 2.12.1 (2010-12-16) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-bit) 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 + ,7 + ,41 + ,38 + ,12 + ,14 + ,12 + ,16 + ,2 + ,5 + ,39 + ,32 + ,11 + ,18 + ,11 + ,19 + ,2 + ,5 + ,30 + ,35 + ,15 + ,11 + ,14 + ,15 + ,1 + ,5 + ,31 + ,33 + ,6 + ,12 + ,12 + ,14 + ,2 + ,8 + ,34 + ,37 + ,13 + ,16 + ,21 + ,13 + ,2 + ,6 + ,35 + ,29 + ,10 + ,18 + ,12 + ,19 + ,2 + ,5 + ,39 + ,31 + ,12 + ,14 + ,22 + ,15 + ,2 + ,6 + ,34 + ,36 + ,14 + ,14 + ,11 + ,14 + ,2 + ,5 + ,36 + ,35 + ,12 + ,15 + ,10 + ,15 + ,2 + ,4 + ,37 + ,38 + ,6 + ,15 + ,13 + ,16 + ,1 + ,6 + ,38 + ,31 + ,10 + ,17 + ,10 + ,16 + ,2 + ,5 + ,36 + ,34 + ,12 + ,19 + ,8 + ,16 + ,1 + ,5 + ,38 + ,35 + ,12 + ,10 + ,15 + ,16 + ,2 + ,6 + ,39 + ,38 + ,11 + ,16 + ,14 + ,17 + ,2 + ,7 + ,33 + ,37 + ,15 + ,18 + ,10 + ,15 + ,1 + ,6 + ,32 + ,33 + ,12 + ,14 + ,14 + ,15 + ,1 + ,7 + ,36 + ,32 + ,10 + ,14 + ,14 + ,20 + ,2 + ,6 + ,38 + ,38 + ,12 + ,17 + ,11 + ,18 + ,1 + ,8 + ,39 + ,38 + ,11 + ,14 + ,10 + ,16 + ,2 + ,7 + ,32 + ,32 + ,12 + ,16 + ,13 + ,16 + ,1 + ,5 + ,32 + ,33 + ,11 + ,18 + ,7 + ,16 + ,2 + ,5 + ,31 + ,31 + ,12 + ,11 + ,14 + ,19 + ,2 + ,7 + ,39 + ,38 + ,13 + ,14 + ,12 + ,16 + ,2 + ,7 + ,37 + ,39 + ,11 + ,12 + ,14 + ,17 + ,1 + ,5 + ,39 + ,32 + ,9 + ,17 + ,11 + ,17 + ,2 + ,4 + ,41 + ,32 + ,13 + ,9 + ,9 + ,16 + ,1 + ,10 + ,36 + ,35 + ,10 + ,16 + ,11 + ,15 + ,2 + ,6 + ,33 + ,37 + ,14 + ,14 + ,15 + ,16 + ,2 + ,5 + ,33 + ,33 + ,12 + ,15 + ,14 + ,14 + ,1 + ,5 + ,34 + ,33 + ,10 + ,11 + ,13 + ,15 + ,2 + ,5 + ,31 + ,28 + ,12 + ,16 + ,9 + ,12 + ,1 + ,5 + ,27 + ,32 + ,8 + ,13 + ,15 + ,14 + ,2 + ,6 + ,37 + ,31 + ,10 + ,17 + ,10 + ,16 + ,2 + ,5 + ,34 + ,37 + ,12 + ,15 + ,11 + ,14 + ,1 + ,5 + ,34 + ,30 + ,12 + ,14 + ,13 + ,7 + ,1 + ,5 + ,32 + ,33 + ,7 + ,16 + ,8 + ,10 + ,1 + ,5 + ,29 + ,31 + ,6 + ,9 + ,20 + ,14 + ,1 + ,5 + ,36 + ,33 + ,12 + ,15 + ,12 + ,16 + ,2 + ,5 + ,29 + ,31 + ,10 + ,17 + ,10 + ,16 + ,1 + ,5 + ,35 + ,33 + ,10 + ,13 + ,10 + ,16 + ,1 + ,5 + ,37 + ,32 + ,10 + ,15 + ,9 + ,14 + ,2 + ,7 + ,34 + ,33 + ,12 + ,16 + ,14 + ,20 + ,1 + ,5 + ,38 + ,32 + ,15 + ,16 + ,8 + ,14 + ,1 + ,6 + ,35 + ,33 + ,10 + ,12 + ,14 + ,14 + ,2 + ,7 + ,38 + ,28 + ,10 + ,12 + ,11 + ,11 + ,2 + ,7 + ,37 + ,35 + ,12 + ,11 + ,13 + ,14 + ,2 + ,5 + ,38 + ,39 + ,13 + ,15 + ,9 + ,15 + ,2 + ,5 + ,33 + ,34 + ,11 + ,15 + ,11 + ,16 + ,2 + ,4 + ,36 + ,38 + ,11 + ,17 + ,15 + ,14 + ,1 + ,5 + ,38 + ,32 + ,12 + ,13 + ,11 + ,16 + ,2 + ,4 + ,32 + ,38 + ,14 + ,16 + ,10 + ,14 + ,1 + ,5 + ,32 + ,30 + ,10 + ,14 + ,14 + ,12 + ,1 + ,5 + ,32 + ,33 + ,12 + ,11 + ,18 + ,16 + ,2 + ,7 + ,34 + ,38 + ,13 + ,12 + ,14 + ,9 + ,1 + ,5 + ,32 + ,32 + ,5 + ,12 + ,11 + ,14 + ,2 + ,5 + ,37 + ,32 + ,6 + ,15 + ,12 + ,16 + ,2 + ,6 + ,39 + ,34 + ,12 + ,16 + ,13 + ,16 + ,2 + ,4 + ,29 + ,34 + ,12 + ,15 + ,9 + ,15 + ,1 + ,6 + ,37 + ,36 + ,11 + ,12 + ,10 + ,16 + ,2 + ,6 + ,35 + ,34 + ,10 + ,12 + ,15 + ,12 + ,1 + ,5 + ,30 + ,28 + ,7 + ,8 + ,20 + ,16 + ,1 + ,7 + ,38 + ,34 + ,12 + ,13 + ,12 + ,16 + ,2 + ,6 + ,34 + ,35 + ,14 + ,11 + ,12 + ,14 + ,2 + ,8 + ,31 + ,35 + ,11 + ,14 + ,14 + ,16 + ,2 + ,7 + ,34 + ,31 + ,12 + ,15 + ,13 + ,17 + ,1 + ,5 + ,35 + ,37 + ,13 + ,10 + ,11 + ,18 + ,2 + ,6 + ,36 + ,35 + ,14 + ,11 + ,17 + ,18 + ,1 + ,6 + ,30 + ,27 + ,11 + ,12 + ,12 + ,12 + ,2 + ,5 + ,39 + ,40 + ,12 + ,15 + ,13 + ,16 + ,1 + ,5 + ,35 + ,37 + ,12 + ,15 + ,14 + ,10 + ,1 + ,5 + ,38 + ,36 + ,8 + ,14 + ,13 + ,14 + ,2 + ,5 + ,31 + ,38 + ,11 + ,16 + ,15 + ,18 + ,2 + ,4 + ,34 + ,39 + ,14 + ,15 + ,13 + ,18 + ,1 + ,6 + ,38 + ,41 + ,14 + ,15 + ,10 + ,16 + ,1 + ,6 + ,34 + ,27 + ,12 + ,13 + ,11 + ,17 + ,2 + ,6 + ,39 + ,30 + ,9 + ,12 + ,19 + ,16 + ,2 + ,6 + ,37 + ,37 + ,13 + ,17 + ,13 + ,16 + ,2 + ,7 + ,34 + ,31 + ,11 + ,13 + ,17 + ,13 + ,1 + ,5 + ,28 + ,31 + ,12 + ,15 + ,13 + ,16 + ,1 + ,7 + ,37 + ,27 + ,12 + ,13 + ,9 + ,16 + ,1 + ,6 + ,33 + ,36 + ,12 + ,15 + ,11 + ,20 + ,1 + ,5 + ,37 + ,38 + ,12 + ,16 + ,10 + ,16 + ,2 + ,5 + ,35 + ,37 + ,12 + ,15 + ,9 + ,15 + ,1 + ,4 + ,37 + ,33 + ,12 + ,16 + ,12 + ,15 + ,2 + ,8 + ,32 + ,34 + ,11 + ,15 + ,12 + ,16 + ,2 + ,8 + ,33 + ,31 + ,10 + ,14 + ,13 + ,14 + ,1 + ,5 + ,38 + ,39 + ,9 + ,15 + ,13 + ,16 + ,2 + ,5 + ,33 + ,34 + ,12 + ,14 + ,12 + ,16 + ,2 + ,6 + ,29 + ,32 + ,12 + ,13 + ,15 + ,15 + ,2 + ,4 + ,33 + ,33 + ,12 + ,7 + ,22 + ,12 + ,2 + ,5 + ,31 + ,36 + ,9 + ,17 + ,13 + ,17 + ,2 + ,5 + ,36 + ,32 + ,15 + ,13 + ,15 + ,16 + ,2 + ,5 + ,35 + ,41 + ,12 + ,15 + ,13 + ,15 + ,2 + ,5 + ,32 + ,28 + ,12 + ,14 + ,15 + ,13 + ,2 + ,6 + ,29 + ,30 + ,12 + ,13 + ,10 + ,16 + ,2 + ,6 + ,39 + ,36 + ,10 + ,16 + ,11 + ,16 + ,2 + ,5 + ,37 + ,35 + ,13 + ,12 + ,16 + ,16 + ,2 + ,6 + ,35 + ,31 + ,9 + ,14 + ,11 + ,16 + ,1 + ,5 + ,37 + ,34 + ,12 + ,17 + ,11 + ,14 + ,1 + ,7 + ,32 + ,36 + ,10 + ,15 + ,10 + ,16 + ,2 + ,5 + ,38 + ,36 + ,14 + ,17 + ,10 + ,16 + ,1 + ,6 + ,37 + ,35 + ,11 + ,12 + ,16 + ,20 + ,2 + ,6 + ,36 + ,37 + ,15 + ,16 + ,12 + ,15 + ,1 + ,6 + ,32 + ,28 + ,11 + ,11 + ,11 + ,16 + ,2 + ,4 + ,33 + ,39 + ,11 + ,15 + ,16 + ,13 + ,1 + ,5 + ,40 + ,32 + ,12 + ,9 + ,19 + ,17 + ,2 + ,5 + ,38 + ,35 + ,12 + ,16 + ,11 + ,16 + ,1 + ,7 + ,41 + ,39 + ,12 + ,15 + ,16 + ,16 + ,1 + ,6 + ,36 + ,35 + ,11 + ,10 + ,15 + ,12 + ,2 + ,9 + ,43 + ,42 + ,7 + ,10 + ,24 + ,16 + ,2 + ,6 + ,30 + ,34 + ,12 + ,15 + ,14 + ,16 + ,2 + ,6 + ,31 + ,33 + ,14 + ,11 + ,15 + ,17 + ,2 + ,5 + ,32 + ,41 + ,11 + ,13 + ,11 + ,13 + ,1 + ,6 + ,32 + ,33 + ,11 + ,14 + ,15 + ,12 + ,2 + ,5 + ,37 + ,34 + ,10 + ,18 + ,12 + ,18 + ,1 + ,8 + ,37 + ,32 + ,13 + ,16 + ,10 + ,14 + ,2 + ,7 + ,33 + ,40 + ,13 + ,14 + ,14 + ,14 + ,2 + ,5 + ,34 + ,40 + ,8 + ,14 + ,13 + ,13 + ,2 + ,7 + ,33 + ,35 + ,11 + ,14 + ,9 + ,16 + ,2 + ,6 + ,38 + ,36 + ,12 + ,14 + ,15 + ,13 + ,2 + ,6 + ,33 + ,37 + ,11 + ,12 + ,15 + ,16 + ,2 + ,9 + ,31 + ,27 + ,13 + ,14 + ,14 + ,13 + ,2 + ,7 + ,38 + ,39 + ,12 + ,15 + ,11 + ,16 + ,2 + ,6 + ,37 + ,38 + ,14 + ,15 + ,8 + ,15 + ,2 + ,5 + ,33 + ,31 + ,13 + ,15 + ,11 + ,16 + ,2 + ,5 + ,31 + ,33 + ,15 + ,13 + ,11 + ,15 + ,1 + ,6 + ,39 + ,32 + ,10 + ,17 + ,8 + ,17 + ,2 + ,6 + ,44 + ,39 + ,11 + ,17 + ,10 + ,15 + ,2 + ,7 + ,33 + ,36 + ,9 + ,19 + ,11 + ,12 + ,2 + ,5 + ,35 + ,33 + ,11 + ,15 + ,13 + ,16 + ,1 + ,5 + ,32 + ,33 + ,10 + ,13 + ,11 + ,10 + ,1 + ,5 + ,28 + ,32 + ,11 + ,9 + ,20 + ,16 + ,2 + ,6 + ,40 + ,37 + ,8 + ,15 + ,10 + ,12 + ,1 + ,4 + ,27 + ,30 + ,11 + ,15 + ,15 + ,14 + ,1 + ,5 + ,37 + ,38 + ,12 + ,15 + ,12 + ,15 + ,2 + ,7 + ,32 + ,29 + ,12 + ,16 + ,14 + ,13 + ,1 + ,5 + ,28 + ,22 + ,9 + ,11 + ,23 + ,15 + ,1 + ,7 + ,34 + ,35 + ,11 + ,14 + ,14 + ,11 + ,2 + ,7 + ,30 + ,35 + ,10 + ,11 + ,16 + ,12 + ,2 + ,6 + ,35 + ,34 + ,8 + ,15 + ,11 + ,8 + ,1 + ,5 + ,31 + ,35 + ,9 + ,13 + ,12 + ,16 + ,2 + ,8 + ,32 + ,34 + ,8 + ,15 + ,10 + ,15 + ,1 + ,5 + ,30 + ,34 + ,9 + ,16 + ,14 + ,17 + ,2 + ,5 + ,30 + ,35 + ,15 + ,14 + ,12 + ,16 + ,1 + ,5 + ,31 + ,23 + ,11 + ,15 + ,12 + ,10 + ,2 + ,6 + ,40 + ,31 + ,8 + ,16 + ,11 + ,18 + ,2 + ,4 + ,32 + ,27 + ,13 + ,16 + ,12 + ,13 + ,1 + ,5 + ,36 + ,36 + ,12 + ,11 + ,13 + ,16 + ,1 + ,5 + ,32 + ,31 + ,12 + ,12 + ,11 + ,13 + ,1 + ,7 + ,35 + ,32 + ,9 + ,9 + ,19 + ,10 + ,2 + ,6 + ,38 + ,39 + ,7 + ,16 + ,12 + ,15 + ,2 + ,7 + ,42 + ,37 + ,13 + ,13 + ,17 + ,16 + ,1 + ,10 + ,34 + ,38 + ,9 + ,16 + ,9 + ,16 + ,2 + ,6 + ,35 + ,39 + ,6 + ,12 + ,12 + ,14 + ,2 + ,8 + ,35 + ,34 + ,8 + ,9 + ,19 + ,10 + ,2 + ,4 + ,33 + ,31 + ,8 + ,13 + ,18 + ,17 + ,2 + ,5 + ,36 + ,32 + ,15 + ,13 + ,15 + ,13 + ,2 + ,6 + ,32 + ,37 + ,6 + ,14 + ,14 + ,15 + ,2 + ,7 + ,33 + ,36 + ,9 + ,19 + ,11 + ,16 + ,2 + ,7 + ,34 + ,32 + ,11 + ,13 + ,9 + ,12 + ,2 + ,6 + ,32 + ,35 + ,8 + ,12 + ,18 + ,13 + ,2 + ,6 + ,34 + ,36 + ,8 + ,13 + ,16) + ,dim=c(8 + ,162) + ,dimnames=list(c('percieved_competence' + ,'gender' + ,'age' + ,'connected' + ,'seperate' + ,'software' + ,'happiness' + ,'depression') + ,1:162)) > y <- array(NA,dim=c(8,162),dimnames=list(c('percieved_competence','gender','age','connected','seperate','software','happiness','depression'),1:162)) > 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/14lyw1322148696.ps",horizontal=F,onefile=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] [,5] [,6] [,7] [,8] [1,] 11 1 4 27 27 7 9 7 [2,] 14 1 5 32 32 10 13 11 [3,] 16 2 6 34 34 11 14 12 [4,] 16 2 6 37 37 12 16 14 [5,] 19 2 7 44 42 15 19 18 $n [1] 162 162 162 162 162 162 162 162 $conf [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,] 15.75173 1.875863 5.875863 33.37932 33.37932 10.75173 13.62759 11.62759 [2,] 16.24827 2.124137 6.124137 34.62068 34.62068 11.24827 14.37241 12.37241 $out [1] 20 7 10 20 9 10 20 20 10 8 10 10 10 8 8 10 8 8 8 9 8 9 8 10 8 [26] 22 23 6 6 6 5 6 6 6 8 7 21 22 20 20 19 22 19 24 20 23 19 19 $group [1] 1 1 1 1 1 1 1 1 1 1 1 1 1 3 3 3 3 3 3 3 3 3 3 3 3 5 5 6 6 6 6 6 6 6 7 7 8 8 [39] 8 8 8 8 8 8 8 8 8 8 $names [1] "percieved_competence" "gender" "age" [4] "connected" "seperate" "software" [7] "happiness" "depression" Warning message: In bxp(list(stats = c(11, 14, 16, 16, 19, 1, 1, 2, 2, 2, 4, 5, 6, : some notches went outside hinges ('box'): maybe set notch=FALSE > 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/2jqqc1322148696.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/32khx1322148696.tab") > > try(system("convert tmp/14lyw1322148696.ps tmp/14lyw1322148696.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.204 0.084 1.274