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 <- c(4.421,1.380,7.403,1.871,1.188,4.608,2.506,4.967,4.561,1.362,7.591,1.741,1.336,4.451,2.528,5.083,4.691,1.411,7.742,1.704,1.364,4.616,2.527,5.369,4.895,1.382,7.601,1.680,1.386,4.626,2.567,5.353,4.833,1.443,7.905,1.756,1.434,4.984,2.632,5.620,4.942,1.471,7.919,1.787,1.473,4.946,2.721,6.190,5.039,1.414,7.879,1.931,1.571,5.022,2.569,6.123,5.068,1.606,7.949,2.105,1.532,5.213,2.704,6.401,5.153,1.434,8.068,2.032,1.565,5.413,2.663,6.657) > par4 = '12' > par3 = 'huishoudbudget en uitgaven' > par2 = 'www.statbel.fgov.be' > par1 = 'Gemiddelde uitgaven per huishouden in Belgiƫ en per jaar in EURO' > ylimmax = '' > ylimmin = '' > ylab = 'Gem huishoudelijke uitgaven in 1000 EUR' > xlab = 'maaden' > main = '' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Dr. Ian E. Holliday > #To cite this work: Ian E. Holliday, 2009, 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: > #Technical description: > if (par4 != 'No season') { + par4 <- as.numeric(par4) + if (par4 < 4) par4 <- 12 + } > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. 1.188 1.662 3.571 3.821 5.168 8.068 > n <- length(x) > postscript(file="/var/www/html/rcomp/tmp/1z0xb1285768597.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > if (par4=='No season') { + plot(x,col=2,type='b',main=main,xlab=xlab,ylab=ylab,xaxt='n') + axis(1,at=seq(1,n,10)) + } > if (par4!='No season') { + plot(x,col=2,type='b',main=main,xlab=xlab,ylab=ylab,xaxt='n') + axis(1,at=seq(1,n,par4)) + grid(nx=0,ny=NULL,col='black') + abline(v=seq(1,n,par4),col='black',lty='dotted') + } > 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,'Univariate Dataseries',2,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Name of dataseries',header=TRUE) > a<-table.element(a,par1) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Source',header=TRUE) > a<-table.element(a,par2) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Description',header=TRUE) > a<-table.element(a,par3) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Number of observations',header=TRUE) > a<-table.element(a,length(x)) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/www/html/rcomp/tmp/2v9dj1285768597.tab") > > try(system("convert tmp/1z0xb1285768597.ps tmp/1z0xb1285768597.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.415 0.203 0.504