R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 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(69.16,69.3,69.36,69.37,69.5,69.66,69.78,69.83,70.17,69.78,69.82,69.81,69.82,69.96,70.07,70.16,70.26,69.9,69.84,69.85,69.85,69.88,69.85,69.7,68.03,66.87,67.17,67.05,67.02,67.1,67.01,67.28,67.37,67.27,67.76,67.37,67.09,67.3,67.62,67.5,67.77,68.48,68.42,69.22,70,70.31,70.86,71.05,71.32,71.84,72.42,72.1,72.09,70.7,70.22,70.32,70.69,70.87,71.17,71.17,70.7,71.18,71.96,72.34,72.75,73.25,73.46,73.05,73.54,74.56,75.23,74.93,75.4) > par4 = '12' > par3 = 'consumptieprijzen telefoon- en faxtoestellen' > par2 = 'belgostat' > par1 = 'consumptieprijzen telefoon- en faxtoestellen' > ylimmax = '' > ylimmin = '' > ylab = 'prijzen in euro' > xlab = 'tijdsindex' > main = 'consumptieprijzen tel- en faxtoestellen' > par4 <- '12' > par3 <- 'consumptieprijzen telefoon- en faxtoestellen' > par2 <- 'belgostat' > par1 <- 'consumptieprijzen telefoon- en faxtoestellen' > #'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.87 68.48 69.85 70.07 71.17 75.40 > n <- length(x) > postscript(file="/var/fisher/rcomp/tmp/1toao1348144412.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/fisher/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/fisher/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/fisher/rcomp/tmp/2lfcg1348144412.tab") > > try(system("convert tmp/1toao1348144412.ps tmp/1toao1348144412.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.895 0.127 0.997