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. > y <- c(100,99.93,100.89,101.61,107.26,109.16,106.62,103.56,102.64,104.71,105.95,107.59,107.72,108.29,107.38,109.85,114.94,118.38,117.76,115.87,114.03,114.36,125.35,125.35,122.21,122.16,119.34,122.70,128.63,132.16,127.14,125.11,123.70,121.88,123.10,122.37,122.52,124.67,127.33,129.43,133.76,135.29,126.37,121.33,121.32,113.43,120.76,118.63,122.22,121.04,122.52,123.02,128.80,126.41,119.65,117.56,119.35,116.78,120.19,114.26) > x <- c(100,101.12,101.12,101.12,101.12,101.12,101.12,101.12,101.12,101.12,101.12,102.25,101.12,101.12,102.25,101.12,101.12,101.12,101.12,100.00,100.00,100.00,100.00,98.88,98.88,97.75,97.75,95.51,95.51,94.38,92.13,92.13,91.01,91.01,89.89,88.76,87.64,86.52,85.39,84.27,84.27,84.27,84.27,84.27,83.15,83.15,82.02,82.02,82.02,80.90,80.90,82.02,83.15,83.15,84.27,85.39,86.52,88.76,89.89,92.13) > par6 = 'deposito (basisjaar 05' > par5 = 'www.nbb.be' > par4 = 'deposito' > par3 = 'werkloosheid (basisjaar 05)' > par2 = 'www.nbb.be' > par1 = 'werkloosheid' > ylab = 'value' > xlab = 'index' > #'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/rcomp/tmp/1pqpt1260520981.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > op <- par(mfrow=c(2,2)) > plot(x,type='b',main='Plot of x',xlab=xlab,ylab=ylab) > plot(y,type='b',main='Plot of y',xlab=xlab,ylab=ylab) > hist(x) > hist(y) > 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,'Bivariate Dataseries',2,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Name of dataseries x',header=TRUE) > a<-table.element(a,par1) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Source of x',header=TRUE) > a<-table.element(a,par2) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Description of x',header=TRUE) > a<-table.element(a,par3) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Name of dataseries y',header=TRUE) > a<-table.element(a,par4) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Source of y',header=TRUE) > a<-table.element(a,par5) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Description of y',header=TRUE) > a<-table.element(a,par6) > 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/2iinz1260520981.tab") > > system("convert tmp/1pqpt1260520981.ps tmp/1pqpt1260520981.png") > > > proc.time() user system elapsed 0.385 0.172 1.606