R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: i686-pc-linux-gnu (32-bit) 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(1412 + ,1811 + ,1115 + ,126 + ,1613 + ,1810 + ,1412 + ,1414 + ,1512 + ,159 + ,1710 + ,1912 + ,1012 + ,1611 + ,1815 + ,1412 + ,1410 + ,1712 + ,1411 + ,1612 + ,1811 + ,1112 + ,1413 + ,1211 + ,1712 + ,913 + ,1610 + ,1414 + ,1512 + ,1110 + ,1612 + ,138 + ,1710 + ,1512 + ,1412 + ,167 + ,99 + ,1512 + ,1710 + ,1310 + ,1510 + ,1612 + ,1615 + ,1210 + ,1510 + ,1112 + ,1513 + ,1511 + ,1711 + ,1312 + ,1614 + ,1410 + ,1112 + ,1213 + ,125 + ,156 + ,1612 + ,1512 + ,1211 + ,1210 + ,87 + ,1312 + ,1114 + ,1411 + ,1512 + ,1013 + ,1114 + ,1211 + ,1512 + ,1512 + ,148 + ,1611 + ,1514 + ,1514 + ,1312 + ,129 + ,1713 + ,1311 + ,1512 + ,1312 + ,1512 + ,1512 + ,1612 + ,1511 + ,1410 + ,159 + ,1412 + ,1312 + ,712 + ,179 + ,1315 + ,1512 + ,1412 + ,1312 + ,1610 + ,1213 + ,149 + ,1712 + ,1510 + ,1714 + ,1211 + ,1615 + ,1111 + ,1511 + ,912 + ,1612 + ,1512 + ,1011 + ,107 + ,1512 + ,1114 + ,1311 + ,1411 + ,1810 + ,1613 + ,1413 + ,148 + ,1411 + ,1412 + ,1211 + ,1413 + ,1512 + ,1514 + ,1513 + ,1315 + ,1710 + ,1711 + ,199 + ,1511 + ,1310 + ,911 + ,158 + ,1511 + ,1512 + ,1612 + ,119 + ,1411 + ,1110 + ,158 + ,139 + ,158 + ,169 + ,1415 + ,1511 + ,168 + ,1613 + ,1112 + ,1212 + ,99 + ,167 + ,1313 + ,169 + ,126 + ,98 + ,138 + ,1315 + ,146 + ,199 + ,1311 + ,128 + ,138 + ,1010 + ,148 + ,1614 + ,1010 + ,118 + ,1411 + ,1212 + ,912 + ,912 + ,115 + ,1612 + ,910 + ,137 + ,1612 + ,1311 + ,98 + ,129 + ,1610 + ,119 + ,1412 + ,136 + ,1515 + ,1412 + ,1612 + ,1312 + ,1411 + ,157 + ,137 + ,115 + ,1112 + ,1412 + ,153 + ,1111 + ,1510 + ,1212 + ,149 + ,1412 + ,89 + ,1312 + ,912 + ,1510 + ,179 + ,1312 + ,158 + ,1511 + ,1411 + ,1612 + ,1310 + ,1610 + ,912 + ,1612 + ,1111 + ,108 + ,1112 + ,1510 + ,1711 + ,1410 + ,88 + ,1512 + ,1112 + ,1610 + ,1012 + ,159 + ,99 + ,166 + ,1910 + ,129 + ,89 + ,119 + ,146 + ,910 + ,156 + ,1314 + ,1610 + ,1110 + ,126 + ,1312 + ,1012 + ,117 + ,128 + ,811 + ,123 + ,126 + ,1510 + ,118 + ,139 + ,149 + ,108 + ,129 + ,157 + ,137 + ,136 + ,139 + ,1210 + ,1211 + ,912 + ,98 + ,1511 + ,103 + ,1411 + ,1512 + ,77 + ,149) > par2 = '0' > par1 = '0' > par2 <- '0' > par1 <- '0' > #'GNU S' R Code compiled by R2WASP v. 1.2.291 () > #Author: root > #To cite this work: Wessa P., (2012), Univariate Explorative Data Analysis (v1.0.9) 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 > # > par1 <- as.numeric(par1) > par2 <- as.numeric(par2) > x <- as.ts(x) > library(lattice) > postscript(file="/var/fisher/rcomp/tmp/115fa1384986769.ps",horizontal=F,onefile=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/fisher/rcomp/tmp/2upqf1384986769.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > hist(x) > grid() > dev.off() null device 1 > postscript(file="/var/fisher/rcomp/tmp/384ej1384986769.ps",horizontal=F,onefile=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/fisher/rcomp/tmp/42isc1384986769.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > qqnorm(x) > qqline(x) > grid() > dev.off() null device 1 > if (par2 > 0) + { + postscript(file="/var/fisher/rcomp/tmp/50reb1384986769.ps",horizontal=F,onefile=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='Lag plot (k=1), lowess, and regression line') + lines(lowess(z)) + abline(lm(z)) + dev.off() + if (par2 > 1) { + postscript(file="/var/fisher/rcomp/tmp/6e5e51384986769.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) + dum <- cbind(lag(x,k=par2),x) + dum + dum1 <- dum[(par2+1):length(x),] + dum1 + z <- as.data.frame(dum1) + z + mylagtitle <- 'Lag plot (k=' + mylagtitle <- paste(mylagtitle,par2,sep='') + mylagtitle <- paste(mylagtitle,'), and lowess',sep='') + plot(z,main=mylagtitle) + lines(lowess(z)) + dev.off() + } + postscript(file="/var/fisher/rcomp/tmp/7ec5x1384986769.ps",horizontal=F,onefile=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. 77 159 1311 1027 1512 1912 > > #Note: the /var/fisher/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/fisher/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/fisher/rcomp/tmp/8i09u1384986769.tab") > > try(system("convert tmp/115fa1384986769.ps tmp/115fa1384986769.png",intern=TRUE)) character(0) > try(system("convert tmp/2upqf1384986769.ps tmp/2upqf1384986769.png",intern=TRUE)) character(0) > try(system("convert tmp/384ej1384986769.ps tmp/384ej1384986769.png",intern=TRUE)) character(0) > try(system("convert tmp/42isc1384986769.ps tmp/42isc1384986769.png",intern=TRUE)) character(0) > try(system("convert tmp/50reb1384986769.ps tmp/50reb1384986769.png",intern=TRUE)) convert: unable to open image `tmp/50reb1384986769.ps': @ error/blob.c/OpenBlob/2587. convert: missing an image filename `tmp/50reb1384986769.png' @ error/convert.c/ConvertImageCommand/3011. character(0) attr(,"status") [1] 1 Warning message: running command 'convert tmp/50reb1384986769.ps tmp/50reb1384986769.png' had status 1 > try(system("convert tmp/6e5e51384986769.ps tmp/6e5e51384986769.png",intern=TRUE)) convert: unable to open image `tmp/6e5e51384986769.ps': @ error/blob.c/OpenBlob/2587. convert: missing an image filename `tmp/6e5e51384986769.png' @ error/convert.c/ConvertImageCommand/3011. character(0) attr(,"status") [1] 1 Warning message: running command 'convert tmp/6e5e51384986769.ps tmp/6e5e51384986769.png' had status 1 > try(system("convert tmp/7ec5x1384986769.ps tmp/7ec5x1384986769.png",intern=TRUE)) convert: unable to open image `tmp/7ec5x1384986769.ps': @ error/blob.c/OpenBlob/2587. convert: missing an image filename `tmp/7ec5x1384986769.png' @ error/convert.c/ConvertImageCommand/3011. character(0) attr(,"status") [1] 1 Warning message: running command 'convert tmp/7ec5x1384986769.ps tmp/7ec5x1384986769.png' had status 1 > > > proc.time() user system elapsed 2.672 0.570 3.231