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(108.28,108.48,108.46,108.66,108.47,108.45,108.06,107.91,108.55,109.53,110.01,110.44,110.72,110.81,111,111.27,111.2,111.48,112.09,112.63,113.88,115.67,116.41,116.44,117.8,117.74,116.23,116.61,115.84,114.61,115.39,113.64,115.15,115.1,116.84,116.12,119.2,119.04,120.59,121.07,121.1,120.81,116.33,116.29,115.94,116.1,118.11,115.94,105.86,105.68,107.39,105.92,102.92,104.34,102.71,103.63,105.26,102.64,103.22,104.67,103.32,102.23,104.19,103.74,100.5,101.34,101.99,101.28,101.18,100.31,101.06,102.14,101.23,102.52,100.52,100.4,101.45,100.35,99.79,101.04,99.69,99.25,101.13,100.17) > par3 = 'Deze reeks geeft de prijsfluctuaties weer van 2002 tot 2008' > par2 = 'www.belgostat.be' > par1 = 'Prijsvergelijking Cola' > ylab = 'Prijs' > xlab = 'Tijd' > main = 'Prijzen Cola' > #'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/1epuj1253988254.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/2c1sa1253988254.tab") > > system("convert tmp/1epuj1253988254.ps tmp/1epuj1253988254.png") > > > proc.time() user system elapsed 0.531 0.225 0.638