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(91.99,92.17,92.19,92.24,92.19,92.21,92.22,92.14,92.43,92.93,93.01,93.07,93.08,93.11,93.21,93.49,93.48,93.51,93.52,93.49,93.76,94.25,94.42,94.45,94.45,94.53,94.78,95.05,95.21,95.23,95.23,95.34,95.93,96.75,97.15,97.21,97.21,97.35,97.44,97.34,97.44,97.43,97.43,97.47,97.69,98.54,98.64,98.72,98.72,98.73,98.68,98.75,98.73,98.74,98.75,98.85,99.14,99.83,99.93,100,100,100.08,100.25,100.4,100.33,100.29,100.29,100.32,100.82,101.42,101.46,101.55,101.56,101.56,101.6,101.66,101.82,101.94,101.95,101.93,102.26,102.65,102.9,102.94,99.14,99.18,99.23,99.32,99.46,99.5,99.95,100.13,100.43,101.09,101.27,101.29,101.04,101.14,101.11,101.01,101.08,101.06,101.26,101.32,101.4,101.85,102.12,102.15) > par4 = '12' > par3 = 'zetprijs index schoeisel' > par2 = 'nbb' > par1 = '' > ylimmax = '' > ylimmin = '' > ylab = 'value' > xlab = 'index or time' > main = 'Indexcijfer schoeisel' > par4 <- '12' > par3 <- 'zetprijs index schoeisel' > par2 <- 'nbb' > par1 <- '' > #'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. 91.99 94.98 98.75 98.05 101.10 102.90 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/110mj1443698188.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/28sgh1443698188.tab") > > try(system("convert tmp/110mj1443698188.ps tmp/110mj1443698188.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.526 0.085 0.609