R version 3.3.1 (2016-06-21) -- "Bug in Your Hair" Copyright (C) 2016 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(75.8,75.7,112.3,110.9,99.6,107.5,90,88.8,129.7,120.4,93.3,96,81.1,78,111.9,117.6,101,98.3,91,86.8,108.8,110.1,93.8,100.6,75.7,69,116,94.5,105.1,95.3,79.7,76.1,111.1,106.3,89.5,96.8,67.8,62.5,90.1,93.6,94.2,93.2,81,73.7,97.7,97.5,82.7,88.8,68.5,61.1,89.6,87.6,90.8,84.3,75,78.4,83.5,93,79.3,83.9,65,60.3,80.6,86.5,78.7,80.7,70.6,67.2,88,89.1,69,84.1) > par4 = '12' > par3 = 'Deze tabel geeft informatie over de omzetontwikkeling in de detailhandel. De cijfers geven de waarde weer van de omzetontwikkeling in winkels met damenskledij. 2010 is het basisjaar en het heeft een basiscijfer van 100. De gegevens zijn over een periode van 5 jaar, het begint in 2010 en eindigt in 2015. De ontwikkeling is weergegeven met behulp van indexcijfers. ' > par2 = 'Centraal Bureau voor de Statistiek' > par1 = 'Omzetontwikkeling in de detailhandel ' > ylimmax = '' > ylimmin = '' > ylab = 'Index omzetontwikkeling (2010 = 100)' > xlab = 'Maanden per jaar (01/2010-12/2015)' > main = 'Omzetontwikkeling detailhandel ' > par4 <- '12' > par3 <- 'Deze tabel geeft informatie over de omzetontwikkeling in de detailhandel. De cijfers geven de waarde weer van de omzetontwikkeling in winkels met damenskledij. 2010 is het basisjaar en het heeft een basiscijfer van 100. De gegevens zijn over een periode van 5 jaar, het begint in 2010 en eindigt in 2015. De ontwikkeling is weergegeven met behulp van indexcijfers. ' > par2 <- 'Centraal Bureau voor de Statistiek' > par1 <- 'Omzetontwikkeling in de detailhandel ' > #'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. 60.30 78.62 88.95 89.05 97.55 129.70 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1o9sc1474912679.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/2m1un1474912679.tab") > > try(system("convert tmp/1o9sc1474912679.ps tmp/1o9sc1474912679.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.562 0.049 0.612