R version 2.12.0 (2010-10-15) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-bit) 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(144.7,140.8,137.1,137.7,144.7,139.2,143.0,140.8,142.5,135.8,132.6,128.6,115.7,109.2,116.9,109.9,116.1,118.9,116.3,114.0,97.0,85.3,84.9,94.6,97.8,95.0,110.7,108.5,110.3,106.3,97.4,94.5,93.7,79.6,84.9,80.7,78.8,64.8,61.4,81.0,83.6,83.5,77.0,81.7,77.0,81.7,92.5,91.7,96.4,88.5,88.5,93.0,93.1,102.8,105.7,98.7,96.7,92.9,92.6,102.7,105.1,104.4,103.0,97.5,103.1,106.2,103.6,105.5,87.5,85.2,98.3,103.8,106.8,102.7,107.5,109.8,104.7,105.7,107.0,100.2,105.9,105.1,105.3,110.0,110.2,111.2,108.2,106.3,108.5,105.3,111.9,105.6,99.5,95.2,87.8,90.6,87.9,76.4,65.9,62.3,57.2,50.4,51.9,58.5,61.4,38.8,44.9,38.6,4.0,25.3,26.9,40.8,54.8,49.3,47.4,54.5,53.4,48.7,50.6,53.6,56.5,46.4,52.3,57.7,62.7,54.3,51.0,53.2,48.6,49.9) > par4 = '12' > par3 = '' > par2 = '' > par1 = 'Consumentenvertrouwen VS 2000 - 2010' > ylimmax = '' > ylimmin = '' > ylab = 'consumentenvertrouwen' > xlab = 'maand' > 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. 4.00 65.07 95.10 89.71 106.70 144.70 > n <- length(x) > postscript(file="/var/www/rcomp/tmp/12z3t1292073379.ps",horizontal=F,onefile=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/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/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/rcomp/tmp/2g90k1292073379.tab") > > try(system("convert tmp/12z3t1292073379.ps tmp/12z3t1292073379.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.460 0.270 0.714