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(12008.00,9169.00,8788.00,8417.00,8247.00,8197.00,8236.00,8253.00,7733.00,8366.00,8626.00,8863.00,10102.00,8463.00,9114.00,8563.00,8872.00,8301.00,8301.00,8278.00,7736.00,7973.00,8268.00,9476.00,11100.00,8962.00,9173.00,8738.00,8459.00,8078.00,8411.00,8291.00,7810.00,8616.00,8312.00,9692.00,9911.00,8915.00,9452.00,9112.00,8472.00,8230.00,8384.00,8625.00,8221.00,8649.00,8625.00,10443.00,10357.00,8586.00,8892.00,8329.00,8101.00,7922.00,8120.00,7838.00,7735.00,8406.00,8209.00,9451.00,10041.00,9411.00,10405.00,8467.00,8464.00,8102.00,7627.00,7513.00,7510.00,8291.00,8064.00,9383.00,9706.00,8579.00,9474.00,8318.00,8213.00,8059.00,9111.00,7708.00,7680.00,8014.00,8007.00,8718.00,9486.00,9113.00,9025.00,8476.00,7952.00,7759.00,7835.00,7600.00,7651.00,8319.00,8812.00,8630.00) > 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. 7510 8116 8438 8630 8978 12010 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/12utl1324142520.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/24ht31324142520.tab") > > try(system("convert tmp/12utl1324142520.ps tmp/12utl1324142520.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.542 0.077 0.614