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(732,768,902,739,744,848,745,752,833,703,824,759,797,840,988,819,831,904,814,798,828,789,930,744,832,826,907,776,835,715,729,733,736,712,711,667,799,661,692,649,729,622,671,635,648,744,624,476,710,515,461,590,415,554,585,513,591,561,684,668,795,776,1043,964,762,1030,939,779,918,839,874,840,794,820,1003,780,607,1001,743,810,716,775,883,633,755,782,882,694,896,674,702,799,791,797,1021,738,1023,955,912,850,1011,872,1074,811,878,1081,956,812,1125,1051,1090,1028,1178,1041,1146,866,875,1116,903,887) > par4 = '12' > par3 = 'Faillissementen' > par2 = 'http://statline.cbs.nl/Statweb/publication/?DM=SLNL&PA=37289&D1=0,3-6&D2=187-189,191-193,195-197,199-201,204-206,208-210,212-214,216-218,221-223,225-227,229-231,233-235,238-240,242-244,246-248,250-252,255-257,259-261,263-265,267-269,272-274,276-278,280-282,284-286,289-291,293-295,297-299,301-303,306-308,310-312,314-316,318-320,323-325,327-329,331-333,335-337,340-356,360&HDR=T&STB=G1&VW=T' > par1 = 'Faillissementen België' > ylimmax = '' > ylimmin = '' > ylab = 'aantal faillissementen' > xlab = 'maanden per jaar' > main = 'Univariate Data' > par4 <- '12' > par3 <- 'Faillissementen' > par2 <- 'http://statline.cbs.nl/Statweb/publication/?DM=SLNL&PA=37289&D1=0,3-6&D2=187-189,191-193,195-197,199-201,204-206,208-210,212-214,216-218,221-223,225-227,229-231,233-235,238-240,242-244,246-248,250-252,255-257,259-261,263-265,267-269,272-274,276-278,280-282,284-286,289-291,293-295,297-299,301-303,306-308,310-312,314-316,318-320,323-325,327-329,331-333,335-337,340-356,360&HDR=T&STB=G1&VW=T' > par1 <- 'Faillissementen België' > #'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. 415.0 714.2 797.0 805.0 889.2 1178.0 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/14dev1422529828.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/2clmw1422529828.tab") > > try(system("convert tmp/14dev1422529828.ps tmp/14dev1422529828.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.546 0.102 0.644