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. > x <- c(15561600,14917500,14805920,16958000,17605000,17131200,18474600,17286700,18574400,18056000,19701600,19061700,19681900,34521200,19922700,20177900,19759900,23076700,22532000,22029400,22587000,23256600,22680300,21916400,19640200,18813100,18730000,18154700,17848800,18077500,17133100,16602600,15878900,15789100,15422000,14661400,15879200,14339300,13169600,14528900,13375800,12309900,11933900,10061900,12609600,11156500,12187200,11284300,10177000,10970720,10820680,11492390,14573750,13992820,14727070,15685360,16736210,17950180,17002730,17415160,17929810,17865790,19202360,19085000,18188880,18466410,18520400,20025500,20636100,20672000,22589100,21864800,22750100,22548746,21325495,21556563,21415269,20401054,19062253,19085706,19279967,18552045,17800733,17142490,17593173,17633859,17336613,17008347,17951965,14520929,16941217,15436824,14744261,14248004,11540953,12881661,15185757,13554339,13575106,12238400,13303614,14151478,14172009,14022320) > 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. 10060000 14530000 17380000 17170000 19220000 34520000 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1mtg41324654529.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/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,'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/wessaorg/rcomp/tmp/2gzrm1324654529.tab") > > try(system("convert tmp/1mtg41324654529.ps tmp/1mtg41324654529.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.608 0.113 0.706