R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-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(7175,7049,6923,6670,9225,9099,7175,5898,6024,6024,6150,6416,5645,4873,4240,4240,6670,6923,4999,2823,3974,3974,4873,5391,5265,3974,4620,4366,6543,6024,3974,2443,3848,4240,4620,5125,4100,3215,3595,3721,7049,7049,5125,4873,5645,5265,6290,7568,7821,6024,5518,4999,8466,8720,8074,8720,8593,7568,8720,9998,10516,8973,7948,8720,12048,13073,12820,13325,13199,11921,14098,14616,15375,13073,12174,13199,15641,17818,17299,17299,17553,16666,18970,18970,18578,16400,16793,17046,18716,20893,19349,20121,19475,19096,22045,21399,20500,19223,20500,21146,21918,22943,21918,22550,21779,21653,24854,25120,24095,22298,23829,24474,25246,26398,25246,26145,25753,24348,27296,27296) > par4 = '12' > par3 = 'Omzet van krantenwinkel Ochtend tss jan 02 - dec 11' > par2 = 'Blackboard' > par1 = 'Omzet krantenwinkel' > ylimmax = '' > ylimmin = '' > ylab = 'Omzet (euro)' > xlab = 'Maand' > main = 'Omzet Krantenwinkel Ochtend' > par4 <- '12' > par3 <- 'Omzet van krantenwinkel Ochtend tss jan 02 - dec 11' > par2 <- 'Blackboard' > par1 <- 'Omzet krantenwinkel' > #'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. 2443 5835 9036 12380 19130 27300 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1pg771343041132.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/2mlds1343041132.tab") > > try(system("convert tmp/1pg771343041132.ps tmp/1pg771343041132.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.733 0.138 0.919