R version 2.8.0 (2008-10-20) 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(7.968826781 + ,9.816920943 + ,8.719451905 + ,9.578609279 + ,9.237957039 + ,9.504384998 + ,11.74024304 + ,15.0813138 + ,16.39006231 + ,11.7966217 + ,14.00695911 + ,21.87143653 + ,8.437443505 + ,8.92920304 + ,8.78733936 + ,8.801156312 + ,10.96936363 + ,11.90525463 + ,14.63906985 + ,19.8830923 + ,16.38546856 + ,13.63620826 + ,18.49491538 + ,27.85870452 + ,10.26908774 + ,11.77670213 + ,10.49849708 + ,11.59769015 + ,13.3447991 + ,12.56215774 + ,16.04223844 + ,19.97154374 + ,16.76067856 + ,13.27442603 + ,18.06058206 + ,20.97417867 + ,11.84839865 + ,11.1937969 + ,9.034930448 + ,10.11798757 + ,13.59429541 + ,12.36409614 + ,18.85359423 + ,20.42958924 + ,18.10215117 + ,15.62689162 + ,17.63002196 + ,23.72893919 + ,11.48604253 + ,12.92667895 + ,11.12814654 + ,11.80092249 + ,13.59338843 + ,11.47580922 + ,18.95547684 + ,18.84070823 + ,17.62468789 + ,16.52851434 + ,16.68686416 + ,28.47325005 + ,10.13471786 + ,10.73736694 + ,8.846490693 + ,11.13447741 + ,11.19904194 + ,12.28408482 + ,17.35287363 + ,18.8196253 + ,17.61475293 + ,14.10254872 + ,16.22664563 + ,26.27411598 + ,9.987813135 + ,11.14854462 + ,8.902315691 + ,10.93318504 + ,10.76504044 + ,9.875081688 + ,13.86360119 + ,16.53316349 + ,14.69498101 + ,11.37004918 + ,13.93897805 + ,21.54230898) > 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/1gyk71229697868.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/2dema1229697868.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/3rn461229697868.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/484t11229697868.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/55mqt1229697868.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/6kdcs1229697868.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. 7.969 10.890 13.100 14.170 16.910 28.470 > > #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/75p9g1229697868.tab") > > system("convert tmp/1gyk71229697868.ps tmp/1gyk71229697868.png") > system("convert tmp/2dema1229697868.ps tmp/2dema1229697868.png") > system("convert tmp/3rn461229697868.ps tmp/3rn461229697868.png") > system("convert tmp/484t11229697868.ps tmp/484t11229697868.png") > system("convert tmp/55mqt1229697868.ps tmp/55mqt1229697868.png") convert: unable to open image `tmp/55mqt1229697868.ps': No such file or directory. convert: missing an image filename `tmp/55mqt1229697868.png'. > system("convert tmp/6kdcs1229697868.ps tmp/6kdcs1229697868.png") convert: unable to open image `tmp/6kdcs1229697868.ps': No such file or directory. convert: missing an image filename `tmp/6kdcs1229697868.png'. > > > proc.time() user system elapsed 1.045 0.618 1.243