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(4264830 + ,3924674 + ,3734753 + ,3762290 + ,3609739 + ,3877594 + ,3636415 + ,3578195 + ,3604342 + ,3459513 + ,3366571 + ,3371277 + ,3724848 + ,3350830 + ,3305159 + ,3390736 + ,3349758 + ,3253655 + ,3734250 + ,3455433 + ,2966726 + ,2993716 + ,3009320 + ,3169713 + ,3170061 + ,3368934 + ,3292638 + ,3337344 + ,3208306 + ,3359130 + ,3223078 + ,3437159 + ,3400156 + ,3657576 + ,3765613 + ,3481921 + ,3604800 + ,3981340 + ,3734078 + ,4018173 + ,3887417 + ,3919880 + ,4014466 + ,4197758 + ,3896531 + ,3964742 + ,4201847 + ,4050512 + ,3997402 + ,4314479 + ,4925744 + ,5130631 + ,4444855 + ,3967319 + ,3931250 + ,4235952 + ,4169219 + ,3779064 + ,3558810 + ,3699466 + ,3650693 + ,3525633 + ,3470276 + ,3859094 + ,3661155 + ,3356365 + ,3344440 + ,3338684 + ,3404294 + ,3289319 + ,3469252 + ,3571850 + ,3639914 + ,3091730 + ,3078149 + ,3188115 + ,3246082 + ,3486992 + ,3378187 + ,3282306 + ,3288345 + ,3325749 + ,3352262 + ,3531954 + ,3722622 + ,3809365 + ,3750617 + ,3615286 + ,3696556 + ,4123959 + ,4136163 + ,3933392 + ,4035576 + ,4551202 + ,4032195 + ,3970893 + ,4489016 + ,5426127 + ,4578224 + ,4126390 + ,4892100 + ,4128697 + ,4408721 + ,4199465 + ,4074767 + ,4161758 + ,3891319 + ,4470302 + ,4283111 + ,3845962 + ,3911471 + ,3798478 + ,3644313 + ,3784029 + ,3647134 + ,3994662 + ,3607836 + ,3566008 + ,3511412 + ,3258665 + ,3486573 + ,3369443 + ,3465544 + ,3905224 + ,3733881 + ,3220642 + ,3225812 + ,3354461 + ,3352261 + ,3450652) > par4 = '12' > par3 = '' > par2 = '' > par1 = 'QBEPIL' > ylimmax = '' > ylimmin = '' > ylab = 'value' > xlab = 'index or time' > main = 'Univariate Data' > #'GNU S' R Code compiled by R2WASP v. 1.2.291 () > #Author: root > #To cite this work: Wessa P., (2012), Plot of univariate data series (v1.0.4) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_univariatedataseries.wasp/ > #Source of accompanying publication: > # > if (par4 != 'No season') { + par4 <- as.numeric(par4) + if (par4 < 4) par4 <- 12 + } > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. 2967000 3369000 3649000 3721000 3970000 5426000 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1rw851333539003.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/2gwgi1333539003.tab") > > try(system("convert tmp/1rw851333539003.ps tmp/1rw851333539003.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.611 0.122 0.726