R version 2.8.0 (2008-10-20) Copyright (C) 2008 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(1153,1154,1208,1330,1412,1482,1545,1558,1568,1610,1643,1651,1686,1725,1755,1772,1818,1914,1940,1954,1964,1965,1968,2016,2017,2018,2101,2112,2127,2132,2181,2193,2198,2214,2226,2248,2250,2262,2264,2280,2285,2294,2316,2320,2329,2349,2354,2369,2369,2380,2415,2416,2457,2458,2467,2482,2507,2511,2514,2523,2524,2526,2545,2555,2579,2585,2592,2604,2606,2612,2622,2626,2659,2660,2676,2714,2714,2724,2755,2757,2774,2777,2799,2822,2828,2834,2836,2840,2855,2856,2862,2862,2876,2883,2892,2897,2898,2898,2917,2923,2934,2954,2967,2972,2976,2985,2986,3006,3017,3056,3074,3076,3079,3111,3118,3145,3159,3163,3164,3168,3179,3210,3224,3260,3262,3263,3265,3295,3307,3310,3368,3389,3402,3420,3425,3433,3446,3446,3465,3470,3502,3508,3584,3624,3626,3629,3633,3646,3661,3717,3718,3728,3756,3758,3790,3795,3802,3816,3822,3932,3951,3990,4009,4027,4041,4042,4092,4117,4151,4198,4216,4225,4231,4239,4326,4377,4420,4426,4442,4523,4935,5054,5138,5225,5255,5454,5618),dim=c(1,187),dimnames=list(c(''),1:187)) > y <- array(NA,dim=c(1,187),dimnames=list(c(''),1:187)) > 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 = 'Aantal liters' > xlab = 'Tijd in maanden' > main = 'Consumptie wijn in Australië 1980-1995' > #'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/freestat/rcomp/tmp/1yzjs1234978328.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,] 1153.0 [2,] 2361.5 [3,] 2883.0 [4,] 3486.0 [5,] 5138.0 $n [1] 187 $conf [,1] [1,] 2753.074 [2,] 3012.926 $out [1] 5225 5255 5454 5618 $group [1] 1 1 1 1 $names [1] "V1" > dev.off() null device 1 > > #Note: the /var/www/html/freestat/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/freestat/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/freestat/rcomp/tmp/26xsr1234978328.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/freestat/rcomp/tmp/3lklv1234978328.tab") > > system("convert tmp/1yzjs1234978328.ps tmp/1yzjs1234978328.png") > > > proc.time() user system elapsed 0.529 0.219 0.614