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(181896,181580,181234,180598,187123,186807,181896,178638,178954,178954,179269,179936,181580,179616,181580,179936,185158,187469,177656,175025,177305,176989,175025,175345,179269,178638,179269,179269,183545,184176,172398,172398,176989,174709,170785,172398,176327,174363,174047,169803,176007,177305,164545,164229,170785,167176,160967,163598,166509,167176,165212,161287,169456,169456,155078,154101,158025,150838,143616,145932,150838,146910,144283,138710,146247,146563,132190,131839,134470,126301,117465,121043,125950,120728,120412,115154,123670,125319,109266,105688,107968,99132,89981,92928,98470,91946,92928,89004,97172,98150,78524,77221,80799,71333,62817,65764,72950,64462,63799,57244,64462,66742,46448,46448,49391,41542,32706,37297,45466,36631,40244,35333,43186,45813,24853,23240,26502,18649,12444,15040) > par4 = '12' > par3 = 'Deze reeks geeft de omzet weer van slagerij Beyens van de jaren 2002-2011' > par2 = 'niet gekend' > par1 = 'Omzet slagerij Beyens' > ylimmax = '' > ylimmin = '' > ylab = 'Euro' > xlab = 'Maand' > main = 'Omzet Slagerij Beyens' > par4 <- '12' > par3 <- 'Deze reeks geeft de omzet weer van slagerij Beyens van de jaren 2002-2011' > par2 <- 'niet gekend' > par1 <- 'Omzet slagerij Beyens' > #'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. 12440 86950 146700 128200 176100 187500 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1snd91344956433.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/2z6mn1344956433.tab") > > try(system("convert tmp/1snd91344956433.ps tmp/1snd91344956433.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.153 0.235 1.370