R version 2.9.0 (2009-04-17) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 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(5,4,5,6,6,6,7,8,7,8,7,8,8,9,9,8,9,9,10,11,12,13,13,13,14,14,15,15,16,16,17,18,19,20,22,20,22,25,24,25,28,26,27,26,25,27,28,30,31,32,34,34,33,32,34,36,37,40,38,38,36,40,40,42,44,45,47,49,47,49,52,50,50,57,58,58,58,61,61,64,68,40,34,46,36,34,45,55,50,56,72,76,78,77,90,88,97,93,84,67,72,75,71,75,90,78,73,62,65,61,58,33,39,56,79,82,79,73,87,85,83,82,83,92,95,97,87,84,84,89,103,106,109,106,105,115,120,124,121,131,139,133,119,123,120,128,134,126,115,106,99,100,99,99,100,100,108,109,115,114,108,113,118,122,118,121,118,121,121,112,119,116,110,111,106,108) > par4 = 'No season' > par3 = '' > par2 = '' > par1 = 'CO2-uitstoot' > ylimmax = '' > ylimmin = '' > ylab = 'Miljoen ton' > xlab = 'Aantal jaar' > main = 'CO2-uitstoot in miljoen ton' > #'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. 4.00 27.00 58.00 62.33 99.00 139.00 > n <- length(x) > postscript(file="/var/www/html/rcomp/tmp/18kci1292005963.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/www/html/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/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/www/html/rcomp/tmp/2mba91292005963.tab") > > try(system("convert tmp/18kci1292005963.ps tmp/18kci1292005963.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.405 0.191 0.900