R version 3.2.2 (2015-08-14) -- "Fire Safety" Copyright (C) 2015 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(2754542,2899512,2928886,3011252,2932895,3069307,2863923,2585491,2993900,3023542,2491370,2341705,2126472,2196705,2368313,2285174,2163877,2299241,2275643,2163091,2416149,2434553,2281937,2440464,2255745,2389872,2863148,2623516,2558136,2898129,2537720,2543469,2779739,2884779,2711624,2817771,2884477,3058996,3285298,2879617,3220416,3144280,2940811,2986507,3153720,2995806,2990242,2879837,2848699,3138385,3532447,3121872,3309250,3215022,2966778,3010284,3083824,3257727,3180374,3036414,2966714,3067677,3339789,3299861,3193328,3181266,3193356,2898282,2929524,3217311,3126249,3131083,3008058,2868318,3207495,3109336,3070725,2989963,3287552,2835238,3368961,3291689,3008536,2974109) > par4 = '12' > par3 = 'Internationale handel; invoer volgens SITC-indeling (van België)' > par2 = 'http://statline.cbs.nl/Statweb/publication/?DM=SLNL&PA=81266NED&D1=0&D2=0&D3=27&D4=0-11,13-24,26-37,39-50,52-63,65-76,78-90,l&HDR=G2,T&STB=G1,G3&VW=T' > par1 = 'Internationale handel: Belgische invoerwaarde' > ylimmax = '' > ylimmin = '' > ylab = 'Invoerwaarde van België x1000euro' > xlab = 'Tijd(in maanden)' > main = 'Univariate Data' > par4 <- '12' > par3 <- 'Internationale handel; invoer volgens SITC-indeling (van België)' > par2 <- 'http://statline.cbs.nl/Statweb/publication/?DM=SLNL&PA=81266NED&D1=0&D2=0&D3=27&D4=0-11,13-24,26-37,39-50,52-63,65-76,78-90,l&HDR=G2,T&STB=G1,G3&VW=T' > par1 <- 'Internationale handel: Belgische invoerwaarde' > #'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. 2126000 2690000 2967000 2880000 3127000 3532000 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/16tdm1443815169.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/26xuu1443815169.tab") > > try(system("convert tmp/16tdm1443815169.ps tmp/16tdm1443815169.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.545 0.105 0.650