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 <- c(19,23,22,23,25,25,23,22,21,16,21,21,26,23,22,22,22,12,20,18,23,25,28,28,29,31,33,32,33,35,33,36,30,34,34,35,33,28,27,23,23,24,24,20,16,6,2,12,19,21,22,20,21,20,19,17,17,17,16,12,11,7,2,9,11,10,7,9,15,5,14,14,17,19,17,16,14,20,16,18,18,14,13,14,14,17,18,15,9,9,9,10,6,12,11,15,19,18,15,16,14,18,18,18,18,22,21,12,19,21,19,22,22,21,19,18,18,19,12,16) > par3 = 'Economische indicator voor Belgiƫ. Maandelijks, volledige tijdreeks van januari 1998 tot december 2007 - Indicator van het consumentenvertrouwen. Ik heb de eenheden + 20 (een constante gedaan) omdat ik anders ook met negatieve getallen zat' > par2 = 'http://ecodata.mineco.fgov.be/mdn/ts_structur.jsp?table=AT0227010' > par1 = 'Indicator van het consumentenvertrouwen' > ylab = 'Eenheden' > xlab = 'Periode' > main = 'Indicator van het consumentenvertrouwen' > #'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!) > postscript(file="/var/www/html/freestat/rcomp/tmp/1z0p81228475115.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(x,col=2,type='b',main=main,xlab=xlab,ylab=ylab) > 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,'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/freestat/rcomp/tmp/2xr3f1228475116.tab") > > system("convert tmp/1z0p81228475115.ps tmp/1z0p81228475115.png") > > > proc.time() user system elapsed 0.575 0.265 1.137