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(771.28,766.78,757.59,747.73,746.59,744.5,744.29,743.79,738.89,736.74,732.77,731.58,731.48,730.08,724.19,716.81,714.84,713.18,713.16,713.15,713.6,707.08,704.11,704.36,704.36,701.93,696.44,686.58,684.48,683.74,683.7,683.52,678.77,674.71,670.28,668.85,668.85,669.35,672.28,671.6,671.96,671.18,671.18,681.14,682.23,679.98,679.69,679.69,679.7,681.21,672.32,669.98,667.91,666.04,666.04,666.27,664.45,660.76,660.4,660.69,660.69,662.23,661.41,659.02,655.43,652.59,652.59,648.2,645.84,644.67,642.71,640.14,640.14,639.64,630.28,614.57,614.7,615.08,615.08,614.43,604.55,598.98,594.05,593.05,593.05,593.34,584.72,580.7,577.08,569.92,569.92,568.86,559.38,548.22,545.61,545.33) > par4 = '12' > par3 = 'Evolutie van de prijzen' > par2 = 'http://www.nbb.be/belgostat/PresentationLinker?Order=true&TableId=251000026&Lang=N&prop=null' > par1 = 'Prijzen Kleurentelevisie' > ylimmax = '' > ylimmin = '' > ylab = 'Prijs' > xlab = 'Tijd' > main = 'Evolutie prijs kleurentelevsie' > #'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. 545.3 640.1 670.1 665.8 704.2 771.3 > n <- length(x) > postscript(file="/var/www/html/rcomp/tmp/1e72q1286300908.ps",horizontal=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/29yhz1286300908.tab") > > try(system("convert tmp/1e72q1286300908.ps tmp/1e72q1286300908.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.393 0.180 0.476