R version 2.7.2 (2008-08-25) Copyright (C) 2008 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.076904412 + ,0.114909836 + ,0.064628931 + ,0.103260606 + ,0.093753165 + ,0.098798611 + ,0.08698 + ,0.083630872 + ,0.084392857 + ,0.102034965 + ,0.074606452 + ,0.083621795 + ,0.091568493 + ,0.109784 + ,0.065912162 + ,0.074264151 + ,0.09197973 + ,0.110705426 + ,0.094818182 + ,0.12543662 + ,0.10672956 + ,0.121045752 + ,0.118974194 + ,0.130278146 + ,0.116473333 + ,0.154041322 + ,0.098689873 + ,0.099112426 + ,0.148178808 + ,0.143445255 + ,0.126452703 + ,0.119197279 + ,0.08504375 + ,0.093785714 + ,0.108106667 + ,0.088258065 + ,0.102907285 + ,0.144897436 + ,0.085711656 + ,0.110682635 + ,0.120613333 + ,0.104100671 + ,0.105931507 + ,0.095941176 + ,0.092871508 + ,0.120262195 + ,0.108668831 + ,0.098435754 + ,0.127031447 + ,0.126208633 + ,0.078674157 + ,0.081206704 + ,0.100051724 + ,0.101473054 + ,0.096325 + ,0.089295181 + ,0.085450262 + ,0.103219101 + ,0.104476744 + ,0.111086022 + ,0.121705521 + ,0.106072848 + ,0.086473958 + ,0.11039548 + ,0.104287958 + ,0.104522222 + ,0.134028571 + ,0.09961236 + ,0.081478673 + ,0.130284884 + ,0.093628866 + ,0.109661616 + ,0.103596591 + ,0.124845679 + ,0.102102564 + ,0.096482412 + ,0.10842 + ,0.116387283 + ,0.094751323 + ,0.099768817 + ,0.096915888 + ,0.136333333 + ,0.092787879 + ,0.086783654 + ,0.091107143 + ,0.127118644 + ,0.098974747 + ,0.085171171 + ,0.116217391 + ,0.117432584 + ,0.07609589 + ,0.081606335 + ,0.081908676 + ,0.063353191 + ,0.073571429 + ,0.060884444 + ,0.064803571) > par2 = '18' > 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/1lbth1225105040.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/2ckw01225105040.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/3cufg1225105040.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/4795i1225105040.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/5ck201225105040.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/6eqx11225105040.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) + acf(x,lag.max=par2,main='Autocorrelation Function') + grid() + dev.off() + } null device 1 > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.06088 0.08698 0.10010 0.10170 0.11490 0.15400 > > #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,'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/7wp2d1225105040.tab") > > system("convert tmp/1lbth1225105040.ps tmp/1lbth1225105040.png") > system("convert tmp/2ckw01225105040.ps tmp/2ckw01225105040.png") > system("convert tmp/3cufg1225105040.ps tmp/3cufg1225105040.png") > system("convert tmp/4795i1225105040.ps tmp/4795i1225105040.png") > system("convert tmp/5ck201225105040.ps tmp/5ck201225105040.png") > system("convert tmp/6eqx11225105040.ps tmp/6eqx11225105040.png") > > > proc.time() user system elapsed 1.547 0.918 1.785