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(3469648.00 + ,3456726.00 + ,3443622.00 + ,3416504.00 + ,3684772.00 + ,3670576.00 + ,3469648.00 + ,3336060.00 + ,3348982.00 + ,3348982.00 + ,3363360.00 + ,3389204.00 + ,3429426.00 + ,3429426.00 + ,3403582.00 + ,3336060.00 + ,3684772.00 + ,3737916.00 + ,3657654.00 + ,3469648.00 + ,3550092.00 + ,3429426.00 + ,3483844.00 + ,3509870.00 + ,3536988.00 + ,3469648.00 + ,3483844.00 + ,3389204.00 + ,3684772.00 + ,3778138.00 + ,3697876.00 + ,3550092.00 + ,3710798.00 + ,3536988.00 + ,3697876.00 + ,3684772.00 + ,3724994.00 + ,3577210.00 + ,3737916.00 + ,3724994.00 + ,3966144.00 + ,3911726.00 + ,3697876.00 + ,3590132.00 + ,3737916.00 + ,3536988.00 + ,3684772.00 + ,3710798.00 + ,3765216.00 + ,3644732.00 + ,3710798.00 + ,3751020.00 + ,3898804.00 + ,3778138.00 + ,3617432.00 + ,3443622.00 + ,3604510.00 + ,3162250.00 + ,3376282.00 + ,3496766.00 + ,3617432.00 + ,3443622.00 + ,3443622.00 + ,3443622.00 + ,3536988.00 + ,3403582.00 + ,3228498.00 + ,3081988.00 + ,3188276.00 + ,2773316.00 + ,3027570.00 + ,3175354.00 + ,3202472.00 + ,3054688.00 + ,3067610.00 + ,3027570.00 + ,3162250.00 + ,3067610.00 + ,2881060.00 + ,2746198.00 + ,2974244.00 + ,2479022.00 + ,2800616.00 + ,2947126.00 + ,2947126.00 + ,2773316.00 + ,2612610.00 + ,2599688.00 + ,2746198.00 + ,2612610.00 + ,2358538.00 + ,2183454.00 + ,2371460.00 + ,1929382.00 + ,2331238.00 + ,2545088.00 + ,2612610.00 + ,2464826.00 + ,2278094.00 + ,2411682.00 + ,2464826.00 + ,2424604.00 + ,2022566.00 + ,1836016.00 + ,1969422.00 + ,1567566.00 + ,1982526.00 + ,2130310.00 + ,2250794.00 + ,2049866.00 + ,1861860.00 + ,1969422.00 + ,2022566.00 + ,1916278.00 + ,1514422.00 + ,1339338.00 + ,1500044.00 + ,1057966.00 + ,1540266.00 + ,1836016.00) > par4 = '12' > par3 = 'omzet per maand (EUR)' > par2 = 'niet gekend' > par1 = 'Omzet product Evian (EUR jaarbasis)' > ylimmax = '' > ylimmin = '' > ylab = 'value' > xlab = 'index or time' > main = 'Univariate Data' > par4 <- '12' > par3 <- 'omzet per maand (EUR)' > par2 <- 'niet gekend' > par1 <- 'Omzet product Evian (EUR jaarbasis)' > #'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. 1058000 2586000 3370000 3053000 3580000 3966000 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1qfai1437655189.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/293511437655189.tab") > > try(system("convert tmp/1qfai1437655189.ps tmp/1qfai1437655189.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.552 0.108 0.659