ar2acf | R Documentation |
Compute the autocorrelation function given the partial correlation coefficients.
ar2acf(a1, a2, k)
a1 |
first difference parameter. |
a2 |
second difference parameter or partial correlation of order two. |
k |
max lag to compute the acf. |
vector of length k or matrix of k columns with autocorrelation up to lag k for each parameter pairs, each line if matrix.
ar2acf()
: marginal correlation.
ar2acf(1, -0.5, 10)
ar2acf(c(1,1.8), c(-0.5, -0.5), 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.