R version 3.0.1 (2013-05-16) -- "Good Sport" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: i686-pc-linux-gnu (32-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(196.09,192.64,189.19,182.29,252.11,248.66,196.09,161.18,164.62,164.62,168.08,175.35,154.27,133.16,115.88,115.88,182.29,189.19,136.61,77.14,108.60,108.60,133.16,147.34,143.89,108.60,126.26,119.33,178.80,164.62,108.60,66.75,105.15,115.88,126.26,140.07,112.05,87.87,98.25,101.70,192.64,192.64,140.07,133.16,154.27,143.89,171.90,206.82,213.75,164.62,150.79,136.61,231.38,238.31,220.65,238.31,234.83,206.82,238.31,273.23,287.40,245.21,217.20,238.31,329.25,357.26,350.36,364.16,360.71,325.80,385.28,399.45,420.19,357.26,332.70,360.71,427.46,486.94,472.76,472.76,479.70,455.47,518.44,518.44,507.71,448.20,458.93,465.86,511.50,570.98,528.79,549.90,532.24,521.88,602.47,584.81,560.25,525.34,560.25,577.91,598.99,627.00,598.99,616.28,595.20,591.75,679.23,686.51,658.50,609.37,651.22,668.85,689.96,721.42,689.96,714.52,703.80,665.40,745.98,745.98) > par4 = '12' > par3 = 'Deze reeks geeft de maandelijkse Shipping omzet (x1000) van de UK weer' > par2 = 'Niet gekend' > par1 = 'Omzet UK Shipping (EUR)' > ylimmax = '' > ylimmin = '' > ylab = 'Euro (x1000)' > xlab = 'Maand' > main = 'Omzet UK Shipping (EUR)' > par4 <- '12' > par3 <- 'Deze reeks geeft de maandelijkse Shipping omzet (x1000) van de UK weer' > par2 <- 'Niet gekend' > par1 <- 'Omzet UK Shipping (EUR)' > #'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. 66.75 159.50 246.90 338.40 522.70 746.00 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/134911376320053.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/2zds81376320053.tab") > > try(system("convert tmp/134911376320053.ps tmp/134911376320053.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.097 0.295 1.486