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(93.6,103.5,127,108,117.5,111.5,137.6,122.2,103.2,86.9,124.4,104.8,113.6,101.6,148.5,121.2,114.1,108.3,117.2,128.7,118,116.5,131.7,139.9,129.4,107.4,96.1,126.5,110,116.4,109.8,148,124.7,120.5,111.4,117,141.7,123.4,120,132.1,146.7,133,122.5,99.6,122.7,115,139,117.8,125.5,127.5,124.7,134.5,121.3,126.7,127.5,117.7,123,132.1,124.3,113.1,89.2,121.7,108,105.3,85.3,105.3,98.6,114.6,72.2,92.1,97.2,87.1,78.6,78.1,93,83.2,81,65.9,88.6,78.5,85.7,76.3,96.8,86.3,83.8,76.8,85.6,119.2,93.9,91.4,95.7,112.3,99.8,95.2,82.8,111.3,96.5,108.2,97,124.4,109.9,100,99.3,117.6,131.5,116.1,114.2,116.8,116.5,115.8,105.4,89.2,115.8,103.5,111.4,106.4,128.4,115.4,112.7,107.7,111,129.8,116.2,130.5,142.9,159.9,144.4,84.1,75,100.7,86.6,106.8,97.4,113,105.7,113.2,76.9,87.3,103.7,89.3,92.1,92.9,112.2,99,88.7,74.6,101.5,88.3,119.7,120.7,153.5,131.3,102,76,89.3,105.3,90.2,97.7,94.4,103.5,98.5,89.2) > par4 = '12' > par3 = 'Omzetontwikkeling vergeleken met basisjaar 2010' > par2 = 'CBS' > par1 = 'Omzetontwikkeling Personenauto-importeurs' > ylimmax = '' > ylimmin = '' > ylab = 'omzetontwikkeling (2010=100)' > xlab = 'Maanden' > main = 'Omzet personenauto-importeurs' > par4 <- '12' > par3 <- 'Omzetontwikkeling vergeleken met basisjaar 2010' > par2 <- 'CBS' > par1 <- 'Omzetontwikkeling Personenauto-importeurs' > #'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. 65.9 94.6 109.8 108.6 121.3 159.9 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1s8rh1411391885.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/2zxdd1411391885.tab") > > try(system("convert tmp/1s8rh1411391885.ps tmp/1s8rh1411391885.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.559 0.102 0.658