[R] Hi

Ben Bolker bbolker at gmail.com
Mon Apr 29 15:29:28 CEST 2013


Fatos Baruti <fatosbaruti <at> gmail.com> writes:

> 
> What is the entry code formula autocovariance and autocorrelation in R
> program for these data?
> 
> a<-c(2,3.5,3.5,2.2,2.2,3.3,2.5,2.5,3.2,2.5,2.5,2.7,1.7,2.7,2.9,2.
  3,2.7,3,1.8,2.5,3.1,2.5,2.5,3.2,2.7,1.9,2.6,2.3,2.7,3.2,
2.2,1.5,2.3,2.6,2.5,2.9,2,2.5,2.6,2.4,2.6,2.8,2.5,2.6,3.2,1.8,
2.7,3.4,2.2,2.9,3.2)

  How hard did you look for an answer before posting to the list ... ?

?acf
acf(a)
acf(a)$acf
acf(a)$acf*var(a)



More information about the R-help mailing list