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(960,1160,1040,1030,1080,1020,1000,1060,1000,980,980,1080,980,1290,1030,1000,1130,1030,900,1040,1080,1010,890,1080,950,1310,1060,1070,1150,1060,950,1090,1080,1040,900,1000,1020,1250,1060,1050,1180,1100,1020,1090,1020,960,860,1070,1040,1310,1040,1010,1130,1030,930,1070,990,970,850,1130,1060,1380,1000,970,1080,940,960,1070,1010,1020,750,1140,1040,1420,900,900,1090,950,930,1080,1000,1010,770,1100,1100,1390,930,940,1100,1030,920,1080,1000,1070,830,1100,1170,1330,980,910,1030,970,960,1100,960,1080,730,1140) > par4 = '12' > par3 = 'deze reeks geeft het aantal bezoekers weer in tientallen' > par2 = 'niet gekend' > par1 = 'aantal bezoekers ' > ylimmax = '' > ylimmin = '' > ylab = 'bezoekers' > xlab = 'tijd' > main = '' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Dr. Ian E. Holliday > #To cite this work: Ian E. Holliday, 2009, YOUR SOFTWARE TITLE (vNUMBER) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_YOURPAGE.wasp/ > #Source of accompanying publication: > #Technical description: > if (par4 != 'No season') { + par4 <- as.numeric(par4) + if (par4 < 4) par4 <- 12 + } > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. 730 970 1030 1038 1080 1420 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1gj7o1312553284.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/2klak1312553284.tab") > > try(system("convert tmp/1gj7o1312553284.ps tmp/1gj7o1312553284.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.616 0.072 0.679