R version 2.12.0 (2010-10-15) 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(11 + ,26 + ,7 + ,23 + ,17 + ,25 + ,10 + ,23 + ,12 + ,19 + ,12 + ,29 + ,11 + ,25 + ,11 + ,21 + ,12 + ,22 + ,13 + ,25 + ,14 + ,24 + ,16 + ,18 + ,11 + ,22 + ,10 + ,15 + ,11 + ,22 + ,15 + ,28 + ,9 + ,20 + ,11 + ,12 + ,17 + ,24 + ,17 + ,20 + ,11 + ,21 + ,18 + ,20 + ,14 + ,21 + ,10 + ,23 + ,11 + ,28 + ,15 + ,24 + ,15 + ,24 + ,13 + ,24 + ,16 + ,23 + ,13 + ,23 + ,9 + ,29 + ,18 + ,24 + ,18 + ,18 + ,12 + ,25 + ,17 + ,21 + ,9 + ,26 + ,9 + ,22 + ,12 + ,22 + ,18 + ,22 + ,12 + ,23 + ,18 + ,30 + ,14 + ,23 + ,15 + ,17 + ,16 + ,23 + ,10 + ,23 + ,11 + ,25 + ,14 + ,24 + ,9 + ,24 + ,12 + ,23 + ,17 + ,21 + ,5 + ,24 + ,12 + ,24 + ,12 + ,28 + ,6 + ,16 + ,24 + ,20 + ,12 + ,29 + ,12 + ,27 + ,11 + ,22 + ,7 + ,28 + ,13 + ,16 + ,12 + ,25 + ,13 + ,24 + ,12 + ,29 + ,8 + ,24 + ,11 + ,23 + ,9 + ,30 + ,11 + ,24 + ,13 + ,21 + ,10 + ,25 + ,11 + ,25 + ,12 + ,22 + ,9 + ,23 + ,15 + ,26 + ,18 + ,23 + ,15 + ,25 + ,12 + ,21 + ,13 + ,25 + ,14 + ,24 + ,10 + ,29 + ,13 + ,22 + ,13 + ,27 + ,11 + ,26 + ,13 + ,22 + ,16 + ,24 + ,8 + ,27 + ,16 + ,24 + ,11 + ,25 + ,9 + ,29 + ,16 + ,22 + ,12 + ,21 + ,14 + ,24 + ,8 + ,24 + ,9 + ,23 + ,15 + ,20 + ,11 + ,27 + ,21 + ,26 + ,14 + ,25 + ,18 + ,21 + ,12 + ,21 + ,13 + ,19 + ,15 + ,21 + ,12 + ,21 + ,16 + ,18 + ,15 + ,22 + ,11 + ,29 + ,11 + ,15 + ,10 + ,17 + ,13 + ,15 + ,15 + ,21 + ,12 + ,21 + ,12 + ,19 + ,16 + ,24 + ,9 + ,20 + ,18 + ,17 + ,8 + ,23 + ,13 + ,24 + ,17 + ,14 + ,10 + ,23 + ,15 + ,24 + ,8 + ,13 + ,7 + ,22 + ,12 + ,16 + ,14 + ,19 + ,6 + ,25 + ,8 + ,25 + ,17 + ,23 + ,10 + ,24 + ,11 + ,26 + ,14 + ,26 + ,11 + ,25 + ,13 + ,18 + ,12 + ,21 + ,11 + ,26 + ,9 + ,23 + ,12 + ,23 + ,20 + ,22 + ,12 + ,20 + ,13 + ,13 + ,12 + ,24 + ,12 + ,15 + ,9 + ,14 + ,15 + ,22 + ,24 + ,10 + ,7 + ,24 + ,17 + ,22 + ,11 + ,24 + ,17 + ,19 + ,11 + ,20 + ,12 + ,13 + ,14 + ,20 + ,11 + ,22 + ,16 + ,24 + ,21 + ,29 + ,14 + ,12 + ,20 + ,20 + ,9 + ,20 + ,11 + ,24 + ,15 + ,22 + ,16 + ,18) + ,dim=c(2 + ,159) + ,dimnames=list(c('ParentalExpectations' + ,'Organization ') + ,1:159)) > y <- array(NA,dim=c(2,159),dimnames=list(c('ParentalExpectations','Organization '),1:159)) > 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/16i0r1292680082.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] [1,] 5 15 [2,] 11 21 [3,] 12 23 [4,] 15 25 [5,] 21 30 $n [1] 159 159 $conf [,1] [,2] [1,] 11.49879 22.49879 [2,] 12.50121 23.50121 $out [1] 24 24 12 14 13 13 14 10 13 12 $group [1] 1 1 2 2 2 2 2 2 2 2 $names [1] "ParentalExpectations" "Organization\r" Warning messages: 1: In axis(side = 1, at = 1:2, labels = c("ParentalExpectations", "Organization\r" : font width unknown for character 0xd 2: In axis(side = 1, at = 1:2, labels = c("ParentalExpectations", "Organization\r" : font width unknown for character 0xd > 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/29jgf1292680082.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/3v1fl1292680082.tab") > > try(system("convert tmp/16i0r1292680082.ps tmp/16i0r1292680082.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.430 0.260 0.682