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. > y <- c(111.5,112,111.9,111.8,112.2,112.5,114.3,116.9,124.5,130.3,133.4,134.4,134.5,136.3,138,138.8,138.3,138.3,141.2,142.4,141.5,140.9,140.5,140,139.3,138.7,139.1,138.4,138.4,138.5,140.4,140.7,142.2,144.2,145.6,147.5,149.7,151.5,153.8,153.9,154.3,154.9,156.3,156.2,157.7,158.6,159.8,160.2,159.9,160.1,159.2,160.7,158.7,158.6,159,159.7,164.1,165.9,170.4,174.5) > x <- c(4782,4274,4677,4479,4951,4277,3838,4304,5557,3790,4583,4194,5104,4119,4197,5112,4214,4736,4617,4143,5298,5011,4724,4618,5578,5353,4901,6056,5024,5730,5732,4491,4755,5208,4962,4163,5592,5754,4929,5219,4429,4142,4308,3996,4634,4138,3759,3922,5560,4004,3937,5250,3908,4814,4407,3243,3740,3949,3711,3796) > par6 = 'Productie van metaal' > par5 = 'Belgostat' > par4 = 'Metaal' > par3 = 'aantal bouwaanvragen' > par2 = 'Belgostat' > par1 = 'Bouwaanvragen' > 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/1wurx1229359849.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/26knm1229359849.tab") > system("convert tmp/1wurx1229359849.ps tmp/1wurx1229359849.png") > > > proc.time() user system elapsed 0.384 0.172 0.441