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(47,55,55,51,55,58,49,52,52,57,61,61,32,43,54,81,72,69,30,53,57,64,71,65,59,68,70,75,74,68,62,56,55,74,58,72,63,68,55,71,79,74,75,69,63,88,68,89,63,74,63,79,80,77,96,88,56,74,82,69) > x <- c(280,557,831,1081,1318,1578,1859,2141,2428,2715,3004,3309,269,537,813,1068,1411,1675,1958,2242,2524,2836,3143,3522,285,574,865,1147,1516,1789,2087,2372,2669,2966,3270,3652,329,658,988,1303,1603,1929,2235,2544,2872,3198,3544,3903,332,665,1001,1329,1639,1975,2304,2640,2992,3330,3690,4063) > par6 = 'verzekeringen' > par5 = 'www.belgostat.be' > par4 = 'verzekeringen' > par3 = 'arbeidsinkomsten' > par2 = 'www.belgostat.be' > par1 = 'arbeidsinkomsten' > 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/1gtx31260559906.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/2a6er1260559906.tab") > > system("convert tmp/1gtx31260559906.ps tmp/1gtx31260559906.png") > > > proc.time() user system elapsed 0.383 0.179 0.450