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(69731,68504,67277,64823,89654,88427,69731,57316,58542,58542,59770,62357,54862,47354,41207,41207,64823,67277,48581,27431,38620,38620,47354,52396,51168,38620,44900,42434,63584,58542,38620,23738,37392,41207,44900,49808,39846,31246,34939,36166,68504,68504,49808,47354,54862,51168,61130,73546,76012,58542,53622,48581,82280,84746,78466,84746,83507,73546,84746,97162,102203,87200,77238,84746,117084,127046,124592,129499,128273,115858,137008,142049,149423,127046,118312,128273,152010,173160,168119,168119,170585,161971,184361,184361,180546,159384,163199,165665,181895,203045,188041,195550,189269,185587,214246,207965,199230,186815,199230,205511,213006,222967,213006,219154,211657,210431,241542,244129,234168,216700,231581,237850,245357,256546,245357,254092,250277,236622,265279,265279) > par20 = '' > par19 = '' > par18 = '' > par17 = '' > par16 = '' > par15 = '' > par14 = '' > par13 = '' > par12 = '' > par11 = '' > par10 = '' > par9 = '' > par8 = '' > par7 = '' > par6 = '' > par5 = '' > par4 = '12' > par3 = 'Dit geeft het ecpdesign weer in euro' > par2 = '"niet gekend"' > par1 = 'Omzet ecpdesign in euro' > ylab = 'Bedrag in euro' > xlab = 'Maanden 2003-2012' > main = 'ecpdesign in euro' > if (par4 != 'No season') { + par4 <- as.numeric(par4) + if (par4 < 4) par4 <- 12 + } > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. 23740 56700 87810 120300 185900 265300 > n <- length(x) > postscript(file="/var/fisher/rcomp/tmp/16cpa1372349750.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/2hryq1372349750.tab") > > try(system("convert tmp/16cpa1372349750.ps tmp/16cpa1372349750.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.982 0.369 2.315