R version 3.0.1 (2013-05-16) -- "Good Sport" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: i686-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(145756,145472,145160,144588,150460,150172,145756,142820,143108,143108,143392,143992,143992,141340,140172,141340,145472,144872,139288,134560,133676,131908,133104,134560,133988,132792,130456,132792,134872,134272,127492,124556,121620,119256,118972,120736,118372,117488,116604,121620,122192,119256,111304,107772,102188,99820,100988,102756,102756,101304,100988,105720,109540,107772,101872,98940,92756,88936,91872,94808,94808,90988,90704,95688,98940,97768,91872,88052,79788,76568,77736,82752,83036,75684,78336,84804,87740,85972,78024,72436,65968,60952,63004,67420,66252,59784,61836,68304,71840,69788,61836,58304,53004,47416,48300,52716,53288,47988,48872,56252,58016,55056,44168,38584,31204,23852,26216,29436,28868,23252,26500,34452,37984,36220,29152,23568,17668,10884,12084,14136) > par4 = '12' > par3 = 'deze reeks geeft de omzet weer per maand in euro (Jan/03 -Dec/12' > par2 = 'niet gekend' > par1 = 'Omzet Drukkerij Gielens per maand' > ylimmax = '' > ylimmin = '' > ylab = 'Omzet in euro' > xlab = 'Maanden (Jan/03-Dec/12' > main = 'Omzet Drukkerij Gielens' > par4 <- '12' > par3 <- 'deze reeks geeft de omzet weer per maand in euro (Jan/03 -Dec/12' > par2 <- 'niet gekend' > par1 <- 'Omzet Drukkerij Gielens per maand' > #'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. 10880 60660 94810 91450 128200 150500 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1xi341376657453.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/23af11376657453.tab") > > try(system("convert tmp/1xi341376657453.ps tmp/1xi341376657453.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.350 0.316 1.636