R version 2.12.0 (2010-10-15) Copyright (C) 2010 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. > x <- c(867.8875,-2250.2807,33618.3570,9954.3447,354.1917,18882.4064,20229.4311,268402.4162,-113346.9261,-45016.3942,35069.8614,58531.0957,-77256.3771,-31473.5946,-52391.0075,32854.9848,101107.7328,-176275.9604,79531.8844,-176414.2516,151290.5795,167731.5942,143237.1224,80251.9665,118735.7263,75035.8259,19198.3085,-36364.5639,-36170.5787,-109567.3951,-100783.3361,-149267.4039,38947.3511,58613.0601,16074.4602,-41563.0049,-15970.5965,-47563.9548,59595.3577,65897.8405,-166489.2832,46312.3270,-15952.8723,-87780.6524,134744.1727,75232.8122,24408.7558,-15406.1403,-3766.7535,27197.2240,-46777.2890,-82472.8213,-35154.7185,-46946.8700,-43641.5365,-54920.7085,54905.4038,-10509.5841,-13706.8047,-42347.6088,-28990.4688) > par4 = '12' > par3 = '' > par2 = '' > par1 = '' > ylimmax = '' > ylimmin = '' > ylab = 'value' > xlab = 'index or time' > main = '' > #'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. -176400 -45020 -2250 1808 54910 268400 > n <- length(x) > postscript(file="/var/www/rcomp/tmp/1ro791323284981.ps",horizontal=F,onefile=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/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/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/rcomp/tmp/2n1gn1323284981.tab") > > try(system("convert tmp/1ro791323284981.ps tmp/1ro791323284981.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.390 0.020 0.409