R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-bit) 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.358,1.361,1.358,1.356,1.355,1.346,1.345,1.346,1.338,1.326,1.321,1.32,1.322,1.323,1.324,1.322,1.321,1.321,1.32,1.31,1.309,1.31,1.308,1.309,1.308,1.313,1.316,1.316,1.317,1.32,1.325,1.327,1.331,1.335,1.335,1.335,1.337,1.338,1.339,1.343,1.349,1.354,1.354,1.355,1.354,1.353,1.352,1.356,1.355,1.355,1.356,1.355,1.355,1.353,1.354,1.352,1.351,1.352,1.352,1.352,1.349,1.349,1.349,1.341,1.341,1.342,1.34,1.339,1.338,1.34,1.344,1.344,1.346,1.35,1.35,1.348,1.348,1.359,1.359,1.361,1.369,1.37,1.372,1.374,1.378,1.378,1.379,1.381,1.382,1.381,1.382,1.381,1.381,1.382,1.361,1.381,1.381,1.384,1.384,1.383,1.382,1.384) > x <- c(1.671,1.672,1.672,1.672,1.669,1.658,1.656,1.656,1.649,1.636,1.628,1.625,1.627,1.627,1.627,1.627,1.625,1.625,1.623,1.615,1.614,1.615,1.613,1.612,1.618,1.623,1.628,1.628,1.628,1.63,1.639,1.636,1.646,1.655,1.662,1.662,1.663,1.666,1.668,1.674,1.682,1.686,1.686,1.687,1.686,1.685,1.678,1.678,1.679,1.678,1.679,1.681,1.68,1.679,1.681,1.668,1.667,1.667,1.659,1.648,1.642,1.641,1.67,1.634,1.633,1.634,1.629,1.624,1.62,1.621,1.627,1.627,1.628,1.635,1.638,1.64,1.641,1.641,1.64,1.641,1.645,1.645,1.644,1.644,1.635,1.634,1.635,1.633,1.631,1.63,1.631,1.63,1.629,1.63,1.634,1.623,1.621,1.62,1.621,1.621,1.621,1.621) > par6 = '' > par5 = '' > par4 = 'Prijs van Benzine' > par3 = '' > par2 = '' > par1 = 'Prijs van Benzine' > 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/wessaorg/rcomp/tmp/19xs41321555114.ps",horizontal=F,onefile=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/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/wessaorg/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/wessaorg/rcomp/tmp/280rv1321555114.tab") > > try(system("convert tmp/19xs41321555114.ps tmp/19xs41321555114.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.448 0.075 0.518