R version 2.6.0 (2007-10-03) Copyright (C) 2007 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(0.975308642 + ,1.001941748 + ,1.01734104 + ,1.00483559 + ,1.013232514 + ,0.993096647 + ,0.949484536 + ,0.957582185 + ,0.966873706 + ,1.014418126 + ,1.053291536 + ,1.055727554 + ,1.074948665 + ,1.060860441 + ,1.083333333 + ,1.087431694 + ,1.056928034 + ,1.050163577 + ,1.067868505 + ,1.077742279 + ,1.103410341 + ,1.107587769 + ,1.066812705 + ,1.075245365 + ,1.079004329 + ,1.076086957 + ,1.026150628 + ,1.012526096 + ,1.021784232 + ,1.048484848 + ,1.069158879 + ,1.1349134 + ,1.154905336 + ,1.13718723 + ,1.103690685 + ,1.064831261 + ,1.01055409 + ,0.996548749 + ,1.019945603 + ,1.000898473 + ,1.01675485 + ,1.024029575 + ,0.989503817 + ,1.048113208 + ,1.018935978 + ,0.966956522 + ,0.993243243 + ,1.00247117 + ,0.988354037 + ,0.985573273 + ,0.96753705 + ,0.989503149 + ,0.985652798 + ,0.97030438 + ,0.9376 + ,0.975352113 + ,0.999103139 + ,0.997235023 + ,0.968833482 + ,0.945111492 + ,0.948051948 + ,0.911740216 + ,0.872836719 + ,0.868071819 + ,0.866976025 + ,0.860377358 + ,0.909160305 + ,0.913530825 + ,0.95281457 + ,0.945901639 + ,0.907452907 + ,0.910518053 + ,0.881656805 + ,0.921340131 + ,0.946666667 + ,0.965441176 + ,1.013728324 + ,1.019302153 + ,1.033236994 + ,1.004480956 + ,1.047155689 + ,1.128186969 + ,1.122529644 + ,1.126126126 + ,1.122605364 + ,1.119430693 + ,1.121966397 + ,1.087179487 + ,1.080250784 + ,1.095435685 + ,1.045909358 + ,1.086521483 + ,1.137170522) > par2 = '0' > par1 = '0' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: Wessa P., (2007), Univariate Explorative Data Analysis (v1.0.5) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_edauni.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description > par1 <- as.numeric(par1) > par2 <- as.numeric(par2) > x <- as.ts(x) > library(lattice) > postscript(file="/var/www/html/rcomp/tmp/14rtq1194614745.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(x,type='l',main='Run Sequence Plot',xlab='time or index',ylab='value') > grid() > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/2zrfe1194614745.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > hist(x) > grid() > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/3w2gm1194614745.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > if (par1 > 0) + { + densityplot(~x,col='black',main=paste('Density Plot bw = ',par1),bw=par1) + } else { + densityplot(~x,col='black',main='Density Plot') + } > dev.off() null device 1 > postscript(file="/var/www/html/rcomp/tmp/4o01u1194614745.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > qqnorm(x) > grid() > dev.off() null device 1 > if (par2 > 0) + { + postscript(file="/var/www/html/rcomp/tmp/5mqft1194614745.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) + dum <- cbind(lag(x,k=1),x) + dum + dum1 <- dum[2:length(x),] + dum1 + z <- as.data.frame(dum1) + z + plot(z,main=paste('Lag plot, lowess, and regression line')) + lines(lowess(z)) + abline(lm(z)) + dev.off() + postscript(file="/var/www/html/rcomp/tmp/6d7441194614745.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) + acf(x,lag.max=par2,main='Autocorrelation Function') + grid() + dev.off() + } > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.8604 0.9688 1.0140 1.0170 1.0750 1.1550 > load(file='/var/www/html/rcomp/createtable') > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,'Descriptive Statistics',2,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'# observations',header=TRUE) > a<-table.element(a,length(x)) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'minimum',header=TRUE) > a<-table.element(a,min(x)) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Q1',header=TRUE) > a<-table.element(a,quantile(x,0.25)) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'median',header=TRUE) > a<-table.element(a,median(x)) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'mean',header=TRUE) > a<-table.element(a,mean(x)) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Q3',header=TRUE) > a<-table.element(a,quantile(x,0.75)) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'maximum',header=TRUE) > a<-table.element(a,max(x)) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/www/html/rcomp/tmp/72ebi1194614745.tab") > > system("convert tmp/14rtq1194614745.ps tmp/14rtq1194614745.png") > system("convert tmp/2zrfe1194614745.ps tmp/2zrfe1194614745.png") > system("convert tmp/3w2gm1194614745.ps tmp/3w2gm1194614745.png") > system("convert tmp/4o01u1194614745.ps tmp/4o01u1194614745.png") > system("convert tmp/5mqft1194614745.ps tmp/5mqft1194614745.png") convert: unable to open image `tmp/5mqft1194614745.ps': No such file or directory. convert: missing an image filename `tmp/5mqft1194614745.png'. > system("convert tmp/6d7441194614745.ps tmp/6d7441194614745.png") convert: unable to open image `tmp/6d7441194614745.ps': No such file or directory. convert: missing an image filename `tmp/6d7441194614745.png'. > > > proc.time() user system elapsed 2.345 1.032 2.582