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(0.457424847,0.463734016,0.470003629,0.470003629,0.470003629,0.470003629,0.476234179,0.476234179,0.482426149,0.488580015,0.488580015,0.488580015,0.488580015,0.488580015,0.494696242,0.494696242,0.494696242,0.500775288,0.500775288,0.500775288,0.500775288,0.500775288,0.506817602,0.512823626,0.518793793,0.518793793,0.518793793,0.518793793,0.524728529,0.530628251,0.530628251,0.536493371,0.548121409,0.548121409,0.548121409,0.553885113,0.553885113,0.553885113,0.559615788,0.576613364,0.598836501,0.604315967,0.609765572,0.615185639,0.620576488,0.620576488,0.625938431,0.625938431,0.625938431,0.625938431,0.625938431,0.625938431,0.625938431,0.631271777,0.631271777,0.625938431,0.625938431,0.625938431,0.625938431,0.625938431,0.625938431) > x <- c(-0.597837001,-0.597837001,-0.597837001,-0.597837001,-0.597837001,-0.579818495,-0.579818495,-0.579818495,-0.579818495,-0.579818495,-0.597837001,-0.579818495,-0.597837001,-0.597837001,-0.579818495,-0.597837001,-0.597837001,-0.597837001,-0.597837001,-0.634878272,-0.634878272,-0.634878272,-0.634878272,-0.616186139,-0.616186139,-0.616186139,-0.597837001,-0.597837001,-0.616186139,-0.597837001,-0.579818495,-0.544727175,-0.527632742,-0.510825624,-0.510825624,-0.510825624,-0.527632742,-0.510825624,-0.510825624,-0.478035801,-0.430782916,-0.385662481,-0.314710745,-0.248461359,-0.248461359,-0.198450939,-0.198450939,-0.210721031,-0.186329578,-0.162518929,-0.15082289,-0.162518929,-0.162518929,-0.198450939,-0.223143551,-0.210721031,-0.223143551,-0.223143551,-0.223143551,-0.223143551,-0.235722334) > 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/rcomp/tmp/1ffss1256942097.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/2x8r61256942097.tab") > > system("convert tmp/1ffss1256942097.ps tmp/1ffss1256942097.png") > > > proc.time() user system elapsed 0.365 0.173 0.547