R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-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(40927,40856,40778,40635,42103,42032,40927,40194,40265,40265,40336,40486,40856,40414,40856,40486,41661,42181,39973,39381,39894,39823,39381,39453,40336,40194,40336,40336,41298,41440,38790,38790,39823,39310,38427,38790,39674,39232,39161,38206,39602,39894,37023,36952,38427,37615,36218,36810,37465,37615,37173,36290,38128,38128,34893,34673,35556,33939,32314,32835,33939,33055,32464,31210,32906,32977,29743,29664,30256,28418,26430,27235,28339,27164,27093,25910,27826,28197,24585,23780,24293,22305,20246,20909,22156,20688,20909,20026,21864,22084,17668,17375,18180,16050,14134,14797,16414,14504,14355,12880,14504,15017,10451,10451,11113,9347,7359,8392,10230,8242,9055,7950,9717,10308,5592,5229,5963,4196,2800,3384) > par4 = '12' > par3 = 'omzet per maand van appels' > par2 = 'niet gekend' > par1 = 'Omzet Appels 2004 - 2013' > ylimmax = '' > ylimmin = '' > ylab = 'Omzet' > xlab = 'Maandelijks' > main = 'Omzet appels per maand' > par4 <- '12' > par3 <- 'omzet per maand van appels' > par2 <- 'niet gekend' > par1 <- 'Omzet Appels 2004 - 2013' > #'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. 2800 19560 33020 28850 39620 42180 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1vq431406027375.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/2dr781406027375.tab") > > try(system("convert tmp/1vq431406027375.ps tmp/1vq431406027375.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.536 0.119 0.651