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(23100 + ,22650 + ,22440 + ,22910 + ,22980 + ,22535 + ,22300 + ,22780 + ,22780 + ,23300 + ,23800 + ,24510 + ,24660 + ,24730 + ,25070 + ,24690 + ,24880 + ,23920 + ,23880 + ,23990 + ,24590 + ,23610 + ,23580 + ,23360 + ,23910 + ,23940 + ,23060 + ,22800 + ,23020 + ,22890 + ,22780 + ,22530 + ,22290 + ,22820 + ,22480 + ,22110 + ,22000 + ,22230 + ,22260 + ,22590 + ,22820 + ,22420 + ,22230 + ,21600 + ,21000 + ,21360 + ,21640 + ,21450 + ,21710 + ,21620 + ,21800 + ,21490 + ,21670 + ,22130 + ,22050 + ,22050 + ,22140 + ,22390 + ,22220 + ,21790 + ,21510 + ,21670 + ,21745 + ,21850 + ,22105 + ,22050 + ,21670 + ,21680 + ,21800 + ,21920 + ,21980 + ,22270 + ,21740 + ,21950 + ,22010 + ,21890 + ,21920 + ,22110 + ,22340 + ,22210 + ,22240 + ,21960 + ,22220 + ,22060 + ,22090 + ,21960 + ,21940 + ,21790 + ,21710 + ,21690 + ,21710 + ,21670 + ,21640 + ,21500 + ,21290 + ,21250 + ,21580 + ,21670 + ,21620 + ,21510 + ,21360 + ,21420 + ,21470 + ,21370 + ,21370 + ,21340 + ,21130 + ,21130 + ,20990 + ,21240 + ,21320 + ,21430 + ,21390 + ,21530 + ,21510 + ,21630 + ,21560 + ,21610 + ,21560 + ,21310 + ,21340 + ,21410 + ,21550 + ,21380 + ,21600 + ,21530 + ,21560 + ,21670 + ,21540 + ,21540 + ,21550 + ,21590 + ,21420 + ,21420 + ,21370 + ,21380 + ,21210 + ,21505 + ,21365 + ,21385 + ,21350 + ,21360 + ,21530 + ,21380 + ,21630 + ,22145 + ,22315 + ,22340 + ,22440 + ,22135 + ,21955 + ,22060 + ,22050 + ,22035 + ,22280 + ,22315 + ,22205 + ,21970 + ,22075 + ,22115 + ,22105 + ,21885 + ,21805 + ,21910 + ,21995 + ,22245 + ,22100 + ,22130 + ,22300 + ,22915 + ,23040 + ,22880 + ,23000 + ,23160 + ,23020 + ,22770 + ,22660 + ,22740 + ,22905 + ,22720 + ,22705 + ,22735 + ,22600 + ,22510 + ,22560 + ,22575 + ,22685 + ,22980 + ,23275 + ,23845 + ,23640 + ,23640 + ,23835 + ,23625 + ,24055 + ,24005 + ,24325 + ,24445 + ,24670 + ,24615 + ,24700 + ,25065 + ,25185 + ,25220 + ,25235 + ,24975 + ,25055 + ,25520 + ,25880 + ,25960 + ,25740 + ,24965 + ,25235 + ,24895 + ,24635 + ,24835 + ,24635 + ,24695 + ,25090 + ,25220 + ,24740 + ,25005 + ,24650 + ,24460 + ,24680 + ,24840 + ,24630 + ,24490 + ,24695 + ,24930 + ,25115 + ,25185 + ,25335 + ,25225 + ,25625 + ,25550 + ,25090 + ,25215 + ,25305 + ,25405 + ,25440 + ,25590 + ,25270 + ,24895 + ,24985 + ,24880 + ,25055 + ,25040 + ,24940 + ,25045 + ,25635 + ,25690 + ,25625 + ,24750 + ,25115 + ,25030 + ,25095) + ,dim=c(1 + ,257) + ,dimnames=list(c('Goudprijzen') + ,1:257)) > y <- array(NA,dim=c(1,257),dimnames=list(c('Goudprijzen'),1:257)) > 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 = 'Boxplots goudprijs' > #'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/1jtub1267659333.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] [1,] 20990 [2,] 21670 [3,] 22315 [4,] 24490 [5,] 25960 $n [1] 257 $conf [,1] [1,] 22037.07 [2,] 22592.93 $out numeric(0) $group numeric(0) $names [1] "Goudprijzen" > 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/2nqcy1267659333.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/3zz7n1267659333.tab") > > try(system("convert tmp/1jtub1267659333.ps tmp/1jtub1267659333.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.365 0.151 0.454