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.58,1.59,1.6,1.6,1.6,1.6,1.61,1.61,1.62,1.63,1.63,1.63,1.63,1.63,1.64,1.64,1.64,1.65,1.65,1.65,1.65,1.65,1.66,1.67,1.68,1.68,1.68,1.68,1.69,1.7,1.7,1.71,1.73,1.73,1.73,1.74,1.74,1.74,1.75,1.78,1.82,1.83,1.84,1.85,1.86,1.86,1.87,1.87,1.87,1.87,1.87,1.87,1.87,1.88,1.88,1.87,1.87,1.87,1.87,1.87) > x <- c(0.55,0.55,0.55,0.55,0.55,0.56,0.56,0.56,0.56,0.56,0.55,0.56,0.55,0.55,0.56,0.55,0.55,0.55,0.55,0.53,0.53,0.53,0.53,0.54,0.54,0.54,0.55,0.55,0.54,0.55,0.56,0.58,0.59,0.6,0.6,0.6,0.59,0.6,0.6,0.62,0.65,0.68,0.73,0.78,0.78,0.82,0.82,0.81,0.83,0.85,0.86,0.85,0.85,0.82,0.8,0.81,0.8,0.8,0.8,0.8,0.79) > par6 = 'Retail prices in importing Member countries in US cents per lb (Arabica, 1977/1 - 2006/12)' > par5 = 'www.ico.org' > par4 = 'usa' > par3 = 'Prices paid to growers in exporting Member countries in US cents per lb (Arabica, 1977/1 - 2006/12)' > par2 = 'www.ico.org' > par1 = 'colombia' > 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/1j6dw1256940524.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/2bhko1256940524.tab") > > system("convert tmp/1j6dw1256940524.ps tmp/1j6dw1256940524.png") > > > proc.time() user system elapsed 0.548 0.246 0.621