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. > x <- c(-2.7089441800854E-14 + ,-2.7089441800854E-14 + ,-2.7089441800854E-14 + ,-2.7089441800854E-14 + ,-2.7089441800854E-14 + ,-2.7089441800854E-14 + ,-2.7089441800854E-14 + ,-2.7089441800854E-14 + ,-2.7089441800854E-14 + ,-0.0067221197756271 + ,1.8651746813703E-14 + ,1.8651746813703E-14 + ,0.0017733645364189 + ,3.1974423109205E-14 + ,3.1974423109205E-14 + ,-0.0063988842582678 + ,1.0658141036402E-14 + ,0.0063988842583105 + ,3.1974423109205E-14 + ,3.1974423109205E-14 + ,3.1974423109205E-14 + ,3.1974423109205E-14 + ,3.1974423109205E-14 + ,3.1974423109205E-14 + ,3.1974423109205E-14 + ,-0.0063988842582678 + ,0.0063988842583105 + ,-0.0063988842582678 + ,0.0063988842583105 + ,3.1974423109205E-14 + ,3.1974423109205E-14 + ,3.1974423109205E-14 + ,-0.0063988842582678 + ,1.0658141036402E-14 + ,0.0063988842583105 + ,-0.0063988842582678 + ,0.0063988842583105 + ,-0.0063988842582678 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,0.0063988842583105 + ,-0.0063988842582678 + ,1.0658141036402E-14 + ,0.0063988842583105 + ,-0.0063988842582678 + ,1.0658141036402E-14 + ,1.0658141036402E-14 + ,0.0063988842583105 + ,3.1974423109205E-14 + ,3.1974423109205E-14 + ,3.1974423109205E-14 + ,3.1974423109205E-14 + ,3.1974423109205E-14 + ,0.0003542958407321 + ,-0.0063966102966977 + ,-5.3290705182008E-15 + ,-5.3290705182008E-15 + ,-5.3290705182008E-15 + ,0.0063966102966946 + ,2.2204460492503E-15 + ,-0.0039041753228979 + ,3.5971225997855E-14 + ,3.5971225997855E-14 + ,3.5971225997855E-14 + ,3.5971225997855E-14 + ,3.5971225997855E-14 + ,3.5971225997855E-14 + ,-0.0064217131136641 + ,-1.5987211554602E-14 + ,-1.5987211554602E-14 + ,-1.5987211554602E-14 + ,-1.5987211554602E-14 + ,0.0064217131136841 + ,3.5971225997855E-14 + ,3.5971225997855E-14 + ,3.5971225997855E-14 + ,-0.0064217131136641 + ,0.0064217131136841 + ,3.5971225997855E-14 + ,3.5971225997855E-14 + ,-0.017578928007164 + ,0.0064935293105748 + ,2.6201263381154E-14 + ,2.6201263381154E-14 + ,2.6201263381154E-14 + ,2.6201263381154E-14 + ,2.6201263381154E-14 + ,-0.0064935293105735 + ,-2.4868995751604E-14 + ,-0.011649203449725 + ,-1.3322676295502E-14 + ,-0.0058758891057136 + ,-4.4408920985006E-14 + ,-4.4408920985006E-14 + ,-4.4408920985006E-14 + ,-4.4408920985006E-14 + ,-4.4408920985006E-14 + ,-4.4408920985006E-14 + ,0.0058758891056558 + ,-0.0058758891057136 + ,-4.4408920985006E-14 + ,-4.4408920985006E-14 + ,-4.4408920985006E-14 + ,-4.4408920985006E-14 + ,-4.4408920985006E-14 + ,-4.4408920985006E-14 + ,0.0058758891056558 + ,-0.0058758891057136 + ,-4.4408920985006E-14 + ,0.0058758891056558 + ,-1.3322676295502E-14 + ,-1.3322676295502E-14 + ,-0.0058758891057136 + ,-4.4408920985006E-14 + ,0.0058758891056558 + ,-1.3322676295502E-14 + ,-1.3322676295502E-14 + ,-1.3322676295502E-14 + ,-1.3322676295502E-14 + ,-1.3322676295502E-14 + ,-1.3322676295502E-14 + ,-0.0058758891057136 + ,0.0058758891056558 + ,-0.0058758891057136 + ,0.0058758891056558 + ,-0.0058758891057136 + ,0.0058758891056558 + ,-0.0058758891057136 + ,0.0058758891056558 + ,-1.3322676295502E-14 + ,-1.3322676295502E-14 + ,-0.0058758891057136 + ,0.0058758891056558 + ,-0.0058758891057136 + ,-4.4408920985006E-14 + ,-4.4408920985006E-14 + ,-4.4408920985006E-14 + ,0.0058758891056558 + ,-1.3322676295502E-14 + ,-0.011416069481314 + ,-2.9309887850104E-14 + ,0.0055401803755708 + ,0.010260258569556 + ,-1.1990408665952E-14 + ,-1.1990408665952E-14 + ,-1.1990408665952E-14 + ,-0.035625288710512 + ,-9.7699626167014E-15 + ,-9.7699626167014E-15 + ,0.01982484976529 + ,-2.9309887850104E-14 + ,-2.9309887850104E-14 + ,-0.019824849765329 + ,0.01982484976529 + ,-2.9309887850104E-14 + ,-2.9309887850104E-14 + ,-2.9309887850104E-14 + ,-2.9309887850104E-14 + ,0.015800438945171 + ,-1.1990408665952E-14 + ,-1.1990408665952E-14 + ,-1.1990408665952E-14 + ,-1.1990408665952E-14 + ,-1.1990408665952E-14 + ,-1.1990408665952E-14 + ,-1.1990408665952E-14 + ,-0.035625288710512 + ,-9.7699626167014E-15 + ,-9.7699626167014E-15 + ,-9.7699626167014E-15 + ,-9.7699626167014E-15 + ,0.03562528871049 + ,-1.1990408665952E-14 + ,-1.1990408665952E-14 + ,-1.1990408665952E-14 + ,-1.1990408665952E-14 + ,-1.1990408665952E-14 + ,-0.035625288710512 + ,-9.7699626167014E-15 + ,0.03562528871049 + ,-1.1990408665952E-14 + ,-1.1990408665952E-14 + ,-0.035625288710512 + ,-9.7699626167014E-15) > par4 = 'No season' > par3 = 'Time series of Xycoon Stock Exchange' > par2 = '' > par1 = 'Apollo Oil Corp.' > ylimmax = '' > ylimmin = '' > ylab = 'value' > xlab = 'time' > main = 'Time Plot of Apollo Oil Corp. Log-Returns' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Dr. Ian E. Holliday > #To cite this work: Ian E. Holliday, 2009, 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: > #Technical description: > if (par4 != 'No season') { + par4 <- as.numeric(par4) + if (par4 < 4) par4 <- 12 + } > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. -3.563e-02 -2.931e-14 -9.770e-15 -3.448e-04 3.197e-14 3.563e-02 > n <- length(x) > postscript(file="/var/www/html/rcomp/tmp/1n8hg1290526189.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > if (par4=='No season') { + plot(x,col=2,type='b',main=main,xlab=xlab,ylab=ylab,xaxt='n') + axis(1,at=seq(1,n,10)) + } > if (par4!='No season') { + plot(x,col=2,type='b',main=main,xlab=xlab,ylab=ylab,xaxt='n') + axis(1,at=seq(1,n,par4)) + grid(nx=0,ny=NULL,col='black') + abline(v=seq(1,n,par4),col='black',lty='dotted') + } > 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,'Univariate Dataseries',2,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Name of dataseries',header=TRUE) > a<-table.element(a,par1) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Source',header=TRUE) > a<-table.element(a,par2) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Description',header=TRUE) > a<-table.element(a,par3) > 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/289ym1290526189.tab") > > try(system("convert tmp/1n8hg1290526189.ps tmp/1n8hg1290526189.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.416 0.198 0.882