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(71,77,76,69,74,101,105,73,68,65,70,65,76,80,92,93,90,96,125,134,100,97,97,101,90,99,108,113,112,103,103,125,128,91,84,83,83,69,100,77,83,78,70,75,101,117,80,87,81,78,73,83,93,105,102,97,100,127,138,107,107,106,109,107,108,129,138,137,134,134,166,180,131,135,127,121,116,137,39,40,41,39,39,49,54,37,35,36,37,36,40,45,50,52,52,54,66,75,56,53,54,56,52,55,61,59,60,56,56,62,67,48,41,43,43,36,53,38,41,41,36,38,49,60,40,44,41,40,38,42,48,53,49,46,49,59,66,50,50,51,55,53,52,64,69,70,68,67,80,86,59,61,59,57,55,66,32,36,36,30,34,52,51,35,32,29,32,30,36,35,41,41,39,42,59,59,44,44,43,45,38,44,47,54,52,47,47,63,61,43,43,39,40,33,47,38,42,38,34,37,53,57,40,43,40,38,35,41,45,52,52,51,52,68,72,56,57,55,54,54,56,65,69,67,66,67,86,95,72,74,68,64,61,71) > par4 = '12' > par3 = 'Werkloze beroepsbevolking per maand (jongeren 15-25 jaar)' > par2 = 'http://statline.cbs.nl/StatWeb/publication/?DM=SLNL&PA=80479NED&D1=10&D2=1&D3=a&D4=65-142&HDR=T&STB=G1,G2,G3&VW=T' > par1 = 'Totale werkloze beroepsbevolking' > ylimmax = '' > ylimmin = '' > ylab = 'Aantal werklozen' > xlab = 'Perioden' > main = 'Univariate Data' > par4 <- '12' > par3 <- 'Werkloze beroepsbevolking per maand (jongeren 15-25 jaar)' > par2 <- 'http://statline.cbs.nl/StatWeb/publication/?DM=SLNL&PA=80479NED&D1=10&D2=1&D3=a&D4=65-142&HDR=T&STB=G1,G2,G3&VW=T' > par1 <- 'Totale werkloze beroepsbevolking' > #'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. 29.00 43.25 59.00 67.17 83.00 180.00 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/10vlq1411127495.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/2areo1411127495.tab") > > try(system("convert tmp/10vlq1411127495.ps tmp/10vlq1411127495.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.555 0.106 0.657