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(1.96,1.44,1,2.89,5.76,4,4.41,4,3.24,7.29,5.29,3.61,4,5.29,7.84,5.76,5.29,7.29,7.29,8.41,9,4.84,5.29,7.84,7.84,7.84,4.84,6.76,7.84,6.25,5.76,5.29,3.61,2.89,4,4.41,2.89,3.24,3.24,3.24,1.69,1.69,1.69,1.44,1.96,4.84,8.41,9.61,12.25,12.96,19.36,16.81,26.01,33.64,34.81,29.16,30.25,23.04,10.24,7.29,4.41,3.61,0.36,0.49,0.04,1,2.89,0.49,1) > x <- c(4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4.8841,5.0625,5.0625,6.0025,6.25,6.25,6.9696,7.5625,8.5849,9,10.0489,10.5625,11.4921,12.25,12.25,13.3225,14.0625,14.0625,15.21,16,16,16,16,16,16,16,16,16,16,16,16,17.4724,18.0625,18.0625,15.7609,11.6964,7.5625,5.3361,4,2.7556,1.7161,1.1881,1,1,1,1) > par6 = 'inflatie' > par5 = '' > par4 = '' > par3 = 'rente' > par2 = '' > par1 = '' > 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/freestat/rcomp/tmp/17t251256751213.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/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,'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/freestat/rcomp/tmp/2w61x1256751213.tab") > > system("convert tmp/17t251256751213.ps tmp/17t251256751213.png") > > > proc.time() user system elapsed 0.572 0.253 0.649