[R] Values of ACF and PACF
dunc@nw|| @end|ng |rom gm@||@com
Sat Nov 21 07:56:10 CET 2020
Thank you, Rolf.
I am aware of how to open and read the help files, I searched the web, too.
However, as a not so blessed user of R, I don't always understand what I
I will do my best with your advice.
On Sat, 21 Nov 2020, 10:57 Rolf Turner, <r.turner using auckland.ac.nz> wrote:
> On Sat, 21 Nov 2020 08:36:45 +0700
> Duncan Williamson <duncanwil using gmail.com> wrote:
> > I use the ACF and PACF functions as part of my investigations into
> > autocorrelation ...
> > Is there any way of getting R to show the numerical values provided by
> > these functions?
> Of course. Easy-peasy. E.g.:
> x <- rnorm(300)
> ax0 <- acf(x,plot=FALSE) # The "plot=FALSE" is not actually necessary.
> ax1 <- ax0$acf[,,1]
> Reading the help file for a function is Always a Good Idea.
> You can also always look at the code. Just type:
> Similarly for pacf()
> Rolf Turner
> Honorary Research Fellow
> Department of Statistics
> University of Auckland
> Phone: +64-9-373-7599 ext. 88276
[[alternative HTML version deleted]]
More information about the R-help