Skip to content

Help with acf

2 messages · Stephen Opiyo, Brian Ripley

#
I would like to get the result of acf min of lag 2 and max of lag 50. 
 When I use time series  ( acf,  lag.max = 50, type="covariance"),  I 
got lag 0 to lag 50.  How do I get lag 2 to lag 50?

Sincerely,

Stephen
#
On Thu, 8 Jan 2004, Stephen Opiyo wrote:

            
Subset the answer in the standard way, as in:

data(Nile)
acf(Nile, lag.max = 50, type="covariance", plot=F)$acf[3:51,,]