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.939759036,0.926829268,0.9375,0.962025316,0.986842105,0.960526316,0.926829268,0.903614458,0.904761905,0.94047619,0.94047619,0.941860465,0.921348315,0.909090909,0.903614458,0.906666667,0.902777778,0.88,0.863636364,0.860215054,0.860215054,0.885057471,0.914634146,0.915662651,0.905882353,0.918604651,0.906976744,0.914634146,0.925925926,0.8875,0.872093023,0.862068966,0.863636364,0.905882353,0.916666667,0.929411765,0.931034483,0.942528736,0.953488372,0.952941176,0.951807229,0.901234568,0.841463415,0.814814815,0.827160494,0.873417722,0.886075949,0.898734177,0.9,0.8875,0.873417722,0.875,0.883116883,0.888888889,0.893333333,0.917808219,0.914285714,0.9,0.885714286,0.902777778,0.931506849,0.957746479,0.955882353,0.954545455,0.951612903,0.951612903,0.941176471,0.927536232) > 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/1pz3t1225125927.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/227fq1225125927.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/3b9rl1225125927.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/4mant1225125927.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/581f61225125927.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/684px1225125927.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.8148 0.8871 0.9080 0.9099 0.9381 0.9868 > > #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/77ejm1225125927.tab") > > system("convert tmp/1pz3t1225125927.ps tmp/1pz3t1225125927.png") > system("convert tmp/227fq1225125927.ps tmp/227fq1225125927.png") > system("convert tmp/3b9rl1225125927.ps tmp/3b9rl1225125927.png") > system("convert tmp/4mant1225125927.ps tmp/4mant1225125927.png") > system("convert tmp/581f61225125927.ps tmp/581f61225125927.png") convert: unable to open image `tmp/581f61225125927.ps': No such file or directory. convert: missing an image filename `tmp/581f61225125927.png'. > system("convert tmp/684px1225125927.ps tmp/684px1225125927.png") convert: unable to open image `tmp/684px1225125927.ps': No such file or directory. convert: missing an image filename `tmp/684px1225125927.png'. > > > proc.time() user system elapsed 1.251 0.619 3.159