R version 3.3.0 (2016-05-03) -- "Supposedly Educational" Copyright (C) 2016 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(38,6,32,69,106,98,21,68,25,21,35,74,7,127,69,134,51,98,107,32,74,53,14,146,13,25,146,104,180,86,74,10,102,28,47,29,22,60,21,133,98,43,76,45,24,42,64,67,56,37,92,139,99,92,62,40,33,51,90,87,61,49,114,67,56,89,144,39,40,19,173,82,35,49,101,103,116,141,138,55,40,30,144,183,41,83,113,64,61,40,103,12,2,13,219,41,46,38,54,47,60,128,99,49,64,182,260,122,1149,31,16,84,99,63,49,43,11,80,156,308,269,1209,49,19,102,117,29,11,46,152,123,8,273,227,1156,23,18,56,85,32,52,24,113,20,16,29,216,36,10,88,24,41,34,47,12,27,39,52,230,16,19,65,58,36,19,19,20,7,9,42,474,69,19,91,68,39,17,6,9,18,3,52,205,25,34,66,139,30,12,13,6,34,4,33,273) > par4 = '12' > par3 = '' > par2 = '' > par1 = '' > ylimmax = '' > ylimmin = '' > ylab = 'value' > xlab = 'maand (01/08 tot 12/13)' > main = 'Univariatverkoope Data' > par4 <- '12' > par3 <- '' > par2 <- '' > 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. 2.00 28.50 52.00 88.12 99.00 1209.00 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1oxlt1463038231.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/2hcft1463038231.tab") > > try(system("convert tmp/1oxlt1463038231.ps tmp/1oxlt1463038231.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.546 0.092 0.634