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(2.65,2.67,2.69,2.7,2.71,2.71,2.71,2.71,2.71,2.7,2.71,2.71,2.72,2.73,2.73,2.76,2.74,2.76,2.77,2.77,2.76,2.75,2.75,2.75,2.77,2.78,2.79,2.8,2.8,2.82,2.82,2.82,2.82,2.83,2.83,2.85,2.85,2.92,2.96,2.94,2.96,2.97,2.97,2.97,2.97,2.99,2.98,2.97,2.97,2.96,2.96,2.94,2.96,2.98,2.99,3.01,2.99,2.97,2.98,2.98,3.02,3.05,3.07,3.09,3.1,3.1,3.1,3.09,3.07,3.06,3.05,3.06,3.1,3.12,3.13,3.14,3.13,3.11,3.13,3.14,3.15,3.14,3.13,3.13,3.15,3.2,3.21,3.22,3.2,3.2,3.2,3.19,3.15,3.16,3.16,3.17,3.11,3.1,3.13,3.14,3.16,3.17,3.19,3.18,3.17,3.17,3.2,3.21,3.25,3.22,3.25,3.31,3.35,3.37,3.38,3.38,3.39,3.44,3.56,3.65,3.69,3.71,3.71,3.74,3.75,3.77,3.75,3.78,3.8,3.78,3.79,3.8,3.82,3.82,3.84,3.86,3.8,3.85,3.78,3.79,3.77,3.78,3.77,3.76,3.78,3.76,3.75,3.71,3.72,3.7,3.69,3.7,3.72,3.73,3.73,3.69) > par4 = '12' > par3 = 'Prijsevolutie van 1 kg speculaas per maand (januari 1998-december 2010)' > par2 = 'Belgostat' > par1 = 'Prijsevolutie van 1 kg speculaas (januari 1998-december 2010)' > ylimmax = '' > ylimmin = '' > ylab = 'prijs (in euro)' > xlab = 'tijd (per maand)' > 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. 2.650 2.940 3.130 3.184 3.402 3.860 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1h9uo1317293730.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/20h041317293730.tab") > > try(system("convert tmp/1h9uo1317293730.ps tmp/1h9uo1317293730.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.541 0.090 0.626