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(8.7 + ,5 + ,10.6 + ,4 + ,9.0 + ,5 + ,9.2 + ,6 + ,8.3 + ,6 + ,7.6 + ,6 + ,9.0 + ,7 + ,8.2 + ,8 + ,9.0 + ,7 + ,8.7 + ,8 + ,9.1 + ,7 + ,8.0 + ,8 + ,7.7 + ,8 + ,9.9 + ,9 + ,8.4 + ,9 + ,9.0 + ,8 + ,8.8 + ,9 + ,8.3 + ,9 + ,8.8 + ,10 + ,9.8 + ,11 + ,8.1 + ,12 + ,8.9 + ,13 + ,7.4 + ,13 + ,8.9 + ,13 + ,9.8 + ,14 + ,8.5 + ,14 + ,9.7 + ,15 + ,7.7 + ,15 + ,8.8 + ,16 + ,9.6 + ,16 + ,9.6 + ,17 + ,7.8 + ,18 + ,9.4 + ,19 + ,9.4 + ,20 + ,8.8 + ,22 + ,10.1 + ,20 + ,9.0 + ,22 + ,8.0 + ,25 + ,7.8 + ,24 + ,10.0 + ,25 + ,8.9 + ,28 + ,8.9 + ,26 + ,8.6 + ,27 + ,9.0 + ,26 + ,9.3 + ,25 + ,8.9 + ,27 + ,7.0 + ,28 + ,9.3 + ,30 + ,8.4 + ,31 + ,9.0 + ,32 + ,8.9 + ,34 + ,9.4 + ,34 + ,8.3 + ,33 + ,8.8 + ,32 + ,7.5 + ,34 + ,7.5 + ,36 + ,8.2 + ,37 + ,8.1 + ,40 + ,8.2 + ,38 + ,8.4 + ,38 + ,9.3 + ,36 + ,9.2 + ,40 + ,8.3 + ,40 + ,8.6 + ,42 + ,9.2 + ,44 + ,9.5 + ,45 + ,9.2 + ,47 + ,9.4 + ,49 + ,8.8 + ,47 + ,8.4 + ,49 + ,9.3 + ,52 + ,9.1 + ,50 + ,8.9 + ,50 + ,9.3 + ,57 + ,8.9 + ,58 + ,8.8 + ,58 + ,8.6 + ,58 + ,9.7 + ,61 + ,10.4 + ,61 + ,9.7 + ,64 + ,10.0 + ,68 + ,9.8 + ,40 + ,9.3 + ,34 + ,9.5 + ,46 + ,8.4 + ,36 + ,9.8 + ,34 + ,8.6 + ,45 + ,9.7 + ,55 + ,10.5 + ,50 + ,8.6 + ,56 + ,9.3 + ,72 + ,9.1 + ,76 + ,9.1 + ,78 + ,9.9 + ,77 + ,9.3 + ,90 + ,9.7 + ,88 + ,8.9 + ,97 + ,10.0 + ,93 + ,9.1 + ,84 + ,9.7 + ,67 + ,9.1 + ,72 + ,10.3 + ,75 + ,9.7 + ,71 + ,9.6 + ,75 + ,9.8 + ,90 + ,9.8 + ,78 + ,9.8 + ,73 + ,8.7 + ,62 + ,9.1 + ,65 + ,8.9 + ,61 + ,10.1 + ,58 + ,9.5 + ,33 + ,10.3 + ,39 + ,9.3 + ,56 + ,10.2 + ,79 + ,10.1 + ,82 + ,10.3 + ,79 + ,9.8 + ,73 + ,9.8 + ,87 + ,9.3 + ,85 + ,9.9 + ,83 + ,9.3 + ,82 + ,9.2 + ,83 + ,8.4 + ,92 + ,10.1 + ,95 + ,9.6 + ,97 + ,10.6 + ,87 + ,10.0 + ,84 + ,10.4 + ,84 + ,8.6 + ,89 + ,8.4 + ,103 + ,9.6 + ,106 + ,9.1 + ,109 + ,10.0 + ,106 + ,10.0 + ,105 + ,9.3 + ,115 + ,9.6 + ,120 + ,9.6 + ,124 + ,9.9 + ,121 + ,9.3 + ,131 + ,9.7 + ,139 + ,10.0 + ,133 + ,9.9 + ,119 + ,10.4 + ,123 + ,9.8 + ,120 + ,9.4 + ,128 + ,9.0 + ,134 + ,9.4 + ,126 + ,9.7 + ,115 + ,10.5 + ,106 + ,10.5 + ,99 + ,9.9 + ,100 + ,8.9 + ,99 + ,9.4 + ,99 + ,9.2 + ,100 + ,10.6 + ,100 + ,11.3 + ,108 + ,11.2 + ,109 + ,10.0 + ,115 + ,10.6 + ,114 + ,10.1 + ,108 + ,11.1 + ,113 + ,10.9 + ,118 + ,9.1 + ,122 + ,10.8 + ,118 + ,10.6 + ,121 + ,11.1 + ,118 + ,11.2 + ,121 + ,10.7 + ,121 + ,11.2 + ,112 + ,11.1 + ,119 + ,10.7 + ,116 + ,11.0 + ,110 + ,11.4 + ,111 + ,11.5 + ,106 + ,10.9 + ,108) + ,dim=c(2 + ,176) + ,dimnames=list(c('Temperatuur' + ,'CO2-uitstoot') + ,1:176)) > y <- array(NA,dim=c(2,176),dimnames=list(c('Temperatuur','CO2-uitstoot'),1:176)) > 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/1usfd1292262192.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,] 7.40 4 [2,] 8.85 27 [3,] 9.30 58 [4,] 9.90 99 [5,] 11.40 139 $n [1] 176 176 $conf [,1] [,2] [1,] 9.174948 49.42502 [2,] 9.425052 66.57498 $out [1] 7.0 11.5 $group [1] 1 1 $names [1] "Temperatuur" "CO2-uitstoot" > 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/2xbej1292262192.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/30bc61292262192.tab") > > try(system("convert tmp/1usfd1292262192.ps tmp/1usfd1292262192.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.398 0.164 1.046