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(1 + ,1 + ,1 + ,1 + ,1 + ,1.002738004 + ,1.04011209 + ,0.98537037 + ,1 + ,0.977400242 + ,1.073498799 + ,0.950833333 + ,1 + ,0.937227883 + ,1.050360288 + ,0.943425926 + ,1 + ,0.897212622 + ,1.041953563 + ,0.914444444 + ,1 + ,0.874343552 + ,1.05692554 + ,0.941111111 + ,1 + ,1.072955474 + ,1.035868695 + ,0.917222222 + ,1 + ,1.000869653 + ,1.016333066 + ,0.926203704 + ,1 + ,0.96556174 + ,0.973979183 + ,0.978148148 + ,1 + ,1.042826204 + ,0.963730985 + ,0.946388889 + ,1 + ,0.912187486 + ,0.984147318 + ,0.930740741 + ,1 + ,0.849544414 + ,0.981265012 + ,0.973333333 + ,1 + ,1.077365456 + ,0.961969576 + ,0.978981481 + ,1 + ,0.99569662 + ,0.943634908 + ,1.001944444 + ,1.105 + ,1.071081512 + ,0.949239392 + ,0.941388889 + ,1.125 + ,1.012180753 + ,0.969015212 + ,1.009351852 + ,1.125 + ,0.982735985 + ,0.955804644 + ,1.008888889 + ,1.225 + ,0.995993985 + ,0.962369896 + ,1.012407407 + ,1.25 + ,1.182301719 + ,0.982465973 + ,1.023981481 + ,1.25 + ,0.963351138 + ,1.022417934 + ,0.973425926 + ,1.32 + ,1.090685174 + ,1.012810248 + ,0.950925926 + ,1.375 + ,1.11065353 + ,1.015532426 + ,0.96287037 + ,1.465 + ,0.986068719 + ,1.02570056 + ,0.994444444 + ,1.5 + ,0.9069864 + ,1.01897518 + ,0.950277778 + ,1.585 + ,1.092093451 + ,1.00968775 + ,0.915092593 + ,1.625 + ,1.118323309 + ,1.031305044 + ,0.944814815 + ,1.695 + ,1.119956012 + ,1.057886309 + ,0.944537037 + ,1.75 + ,0.973080031 + ,1.040752602 + ,0.964444444 + ,1.75 + ,1.061773419 + ,1.046757406 + ,0.9775 + ,1.825 + ,1.042130482 + ,1.060208167 + ,0.941296296 + ,1.875 + ,1.197910588 + ,1.082145717 + ,0.932037037 + ,1.875 + ,1.043280668 + ,1.081745396 + ,0.936759259 + ,1.95 + ,1.112712644 + ,1.074379504 + ,0.923425926 + ,2 + ,1.169509403 + ,1.098158527 + ,0.959259259 + ,2 + ,1.101945779 + ,1.090632506 + ,0.938240741 + ,2 + ,0.995073836 + ,1.112570056 + ,0.987685185 + ,2 + ,1.111674671 + ,1.139071257 + ,1.007685185 + ,2 + ,1.243323309 + ,1.175660528 + ,0.999444444 + ,2 + ,1.159404596 + ,1.166533227 + ,1.038148148 + ,2 + ,1.00304098 + ,1.178382706 + ,1.040925926 + ,2 + ,1.172993626 + ,1.180784628 + ,1.063240741 + ,2 + ,1.187446699 + ,1.243154524 + ,1.028333333 + ,2 + ,1.199245927 + ,1.261008807 + ,1.020277778 + ,2 + ,1.287776606 + ,1.245556445 + ,0.996944444 + ,2 + ,1.197512231 + ,1.245236189 + ,0.979351852 + ,2.09 + ,1.340909601 + ,1.262610088 + ,1.005462963 + ,2.125 + ,1.256390547 + ,1.198959167 + ,0.979166667 + ,2.125 + ,1.025298487 + ,1.150440352 + ,0.988888889 + ,1.985 + ,1.278485345 + ,1.066613291 + ,1.011666667 + ,1.71 + ,1.252384533 + ,1.0193755 + ,1.090833333 + ,1.375 + ,1.001066026 + ,1.076781425 + ,1.040833333 + ,1.155 + ,0.918662193 + ,1.059967974 + ,1.143240741 + ,1 + ,0.8939921 + ,1.023618895 + ,1.175833333 + ,0.83 + ,0.922735536 + ,1.044835869 + ,1.130925926 + ,0.655 + ,0.994714754 + ,1.056044836 + ,1.117222222 + ,0.545 + ,0.933782935 + ,1.092874299 + ,1.118981481 + ,0.5 + ,0.908742538 + ,1.122177742 + ,1.101296296 + ,0.5 + ,1.024064141 + ,1.127942354 + ,1.091944444 + ,0.5 + ,0.98581624 + ,1.142353883 + ,1.441388889 + ,0.5 + ,0.888549755 + ,1.165892714 + ,1.493981481) + ,dim=c(4 + ,60) + ,dimnames=list(c('Rente' + ,'Uitvoer' + ,'Wisselkoers' + ,'Reserves') + ,1:60)) > y <- array(NA,dim=c(4,60),dimnames=list(c('Rente','Uitvoer','Wisselkoers','Reserves'),1:60)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par1 = 'yellow' > 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/1ouls1257935971.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,] 0.5000 0.8495444 0.943635 0.9144444 [2,] 1.0000 0.9752401 1.015933 0.9456019 [3,] 1.3475 1.0246813 1.056485 0.9865278 [4,] 1.9925 1.1191397 1.125060 1.0261574 [5,] 2.1250 1.2877766 1.262610 1.1432407 $n [1] 60 60 60 60 $conf [,1] [,2] [,3] [,4] [1,] 1.145053 0.9953291 1.034226 0.9700963 [2,] 1.549947 1.0540335 1.078745 1.0029593 $out [1] 1.340910 1.175833 1.441389 1.493981 $group [1] 2 4 4 4 $names [1] "Rente" "Uitvoer" "Wisselkoers" "Reserves" > 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/2ssdo1257935971.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/33uuk1257935971.tab") > > system("convert tmp/1ouls1257935971.ps tmp/1ouls1257935971.png") > > > proc.time() user system elapsed 0.374 0.194 0.518