R version 2.5.1 (2007-06-27) 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(146,165.5,154.5,147.5,165.3,145.7,147.2,156.1,152.9,153.8,151.7,131.8,131,155.8,143.8,139.8,160.1,136.5,131,153.7,141.3,138.9,141.2,120.3,118.9,141.7,126.2,130.6,139.8,119.5,115.8,142.6,127.7,131.8,129.5,111.1,112.6,130.8,115.4,120.5,131.9,111.2,108.9,128.1,110.7,124.1,121.5,95.9,104.9,116.9,107.5,112.4,117.3,104.6,106.3,121.1,110.5,116.8,114.4,94.5,102.2,111.6,109.5,111.2,111.1,99.9,99,112.3,107.6,109.4,104.8,93.9,94.6,110.3,107.8,101.3,112.9,97.5,100.3,118.1,106.7,107.8,106.3,89.7,86,101.6,101.5,92.2,106.8,90.8,84.8,101.8,89.8,92.9,93.6,78.1,77.3,92.2,80,84.1,91.4,74.8,74,89.9,79.6,84.8,85.9,70.9,76.7,88.4,81.1,83.1,87.3,77,76,91.2,76.7,86.2,85,68.4,72.9,83.4,75.4,79.2,77.5,70.7,71.3,80.3,72.2,80.3,75.3,62.6,64.3,75.7,71.9,71.1,74.4,66.3,65,76.1,71,73.5,75.7,62.5,57.3,73.9,68.5,64.7,74.9,63,63.1) > 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/1r2i81192985989.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/203wr1192985989.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/3vbns1192985989.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/409uf1192985989.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/5kvxa1192985989.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/671h71192985989.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. 57.3 79.4 101.8 103.4 120.4 165.5 > 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/7dhce1192985990.tab") > > system("convert tmp/1r2i81192985989.ps tmp/1r2i81192985989.png") > system("convert tmp/203wr1192985989.ps tmp/203wr1192985989.png") > system("convert tmp/3vbns1192985989.ps tmp/3vbns1192985989.png") > system("convert tmp/409uf1192985989.ps tmp/409uf1192985989.png") > system("convert tmp/5kvxa1192985989.ps tmp/5kvxa1192985989.png") convert: unable to open image `tmp/5kvxa1192985989.ps': No such file or directory. convert: missing an image filename `tmp/5kvxa1192985989.png'. > system("convert tmp/671h71192985989.ps tmp/671h71192985989.png") convert: unable to open image `tmp/671h71192985989.ps': No such file or directory. convert: missing an image filename `tmp/671h71192985989.png'. > > > proc.time() user system elapsed 1.458 0.645 1.658