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)

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
  • [R] Hi Fatos Baruti
    • Re: [R] Hi Ben Bolker

Reply via email to