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(519 + ,505.56 + ,195.4 + ,104 + ,517 + ,439.01 + ,182.8 + ,110 + ,510 + ,485.72 + ,225.1 + ,104 + ,509 + ,438.99 + ,227.7 + ,94 + ,501 + ,375.32 + ,208.5 + ,95 + ,507 + ,403.57 + ,228.2 + ,99 + ,569 + ,354.89 + ,226.6 + ,101 + ,580 + ,290.27 + ,187.8 + ,104 + ,578 + ,344.85 + ,226.7 + ,99 + ,565 + ,425.98 + ,206.9 + ,105 + ,547 + ,303.06 + ,174.6 + ,107 + ,555 + ,264.51 + ,229.9 + ,110 + ,562 + ,474.60 + ,236.0 + ,117 + ,561 + ,501.04 + ,221.4 + ,118 + ,555 + ,614.65 + ,282.5 + ,126 + ,544 + ,537.26 + ,235.5 + ,127 + ,537 + ,394.77 + ,233.3 + ,134 + ,543 + ,438.95 + ,301.6 + ,131 + ,594 + ,314.81 + ,215.5 + ,135 + ,611 + ,298.96 + ,217.2 + ,142 + ,613 + ,338.42 + ,215.0 + ,141 + ,611 + ,391.20 + ,253.3 + ,153 + ,594 + ,337.02 + ,205.8 + ,145 + ,595 + ,250.94 + ,216.0 + ,137 + ,591 + ,514.42 + ,226.0 + ,148 + ,589 + ,455.94 + ,249.8 + ,152 + ,584 + ,525.18 + ,269.5 + ,169 + ,573 + ,485.64 + ,279.9 + ,168 + ,567 + ,417.45 + ,294.6 + ,161 + ,569 + ,495.85 + ,293.0 + ,174 + ,621 + ,327.47 + ,231.8 + ,179 + ,629 + ,333.79 + ,254.0 + ,190 + ,628 + ,356.45 + ,257.0 + ,190 + ,612 + ,370.34 + ,266.9 + ,181 + ,595 + ,356.81 + ,245.0 + ,174 + ,597 + ,209.72 + ,284.2 + ,180 + ,593 + ,585.52 + ,344.0 + ,196 + ,590 + ,549.55 + ,267.8 + ,193 + ,580 + ,655.40 + ,298.1 + ,197 + ,574 + ,515.70 + ,226.0 + ,216 + ,573 + ,511.45 + ,284.4 + ,221 + ,573 + ,466.41 + ,254.6 + ,217 + ,620 + ,357.04 + ,245.6 + ,229 + ,626 + ,332.53 + ,229.5 + ,227 + ,620 + ,351.93 + ,237.9 + ,204 + ,588 + ,416.68 + ,247.9 + ,196 + ,566 + ,348.65 + ,205.7 + ,198 + ,557 + ,212.10 + ,228.0 + ,207 + ,561 + ,561.26 + ,235.1 + ,190 + ,549 + ,492.31 + ,227.6 + ,201 + ,532 + ,597.23 + ,254.8 + ,210 + ,526 + ,481.03 + ,231.1 + ,223 + ,511 + ,474.72 + ,220.1 + ,223 + ,499 + ,504.97 + ,272.5 + ,231 + ,555 + ,400.59 + ,240.8 + ,244 + ,565 + ,341.49 + ,213.9 + ,234 + ,542 + ,368.60 + ,189.8 + ,250 + ,527 + ,463.56 + ,253.7 + ,265 + ,510 + ,365.77 + ,206.8 + ,287 + ,514 + ,238.72 + ,206.3 + ,283 + ,517 + ,572.76 + ,252.0 + ,295 + ,508 + ,563.89 + ,243.4 + ,312 + ,493 + ,576.57 + ,219.0 + ,333 + ,490 + ,623.00 + ,279.4 + ,347 + ,469 + ,489.29 + ,207.0 + ,383 + ,478 + ,511.68 + ,261.5 + ,407 + ,528 + ,396.36 + ,226.5 + ,413 + ,534 + ,332.13 + ,213.9 + ,362 + ,518 + ,381.27 + ,242.8 + ,321 + ,506 + ,432.91 + ,213.7 + ,239 + ,502 + ,306.00 + ,182.3 + ,191 + ,516 + ,219.56 + ,206.3 + ,159) + ,dim=c(4 + ,72) + ,dimnames=list(c('werkl' + ,'inpw' + ,'bouwv' + ,'pigr') + ,1:72)) > y <- array(NA,dim=c(4,72),dimnames=list(c('werkl','inpw','bouwv','pigr'),1:72)) > 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/1tepp1258121108.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,] 469.0 209.720 174.60 94.0 [2,] 517.5 343.170 215.25 134.5 [3,] 561.0 417.065 230.50 190.0 [4,] 589.5 503.005 254.30 228.0 [5,] 629.0 655.400 301.60 362.0 $n [1] 72 72 72 72 $conf [,1] [,2] [,3] [,4] [1,] 547.5933 387.3030 223.2287 172.5899 [2,] 574.4067 446.8270 237.7713 207.4101 $out [1] 344 383 407 413 $group [1] 3 4 4 4 $names [1] "werkl" "inpw" "bouwv" "pigr" > 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/2kg3h1258121108.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/3d6xd1258121109.tab") > > system("convert tmp/1tepp1258121108.ps tmp/1tepp1258121108.png") > > > proc.time() user system elapsed 0.408 0.166 0.467