autocorr | R Documentation |
autocorr
computes the simple/partial autocorrelations of an ARMA model.
autocorr(um, ...) ## S3 method for class 'um' autocorr(um, lag.max = 10, par = FALSE, ...)
um |
an object of class |
... |
additional arguments. |
lag.max |
maximum lag for autocovariances. |
par |
logical. If TRUE partial autocorrelations are computed. |
A numeric vector.
The I polynomial is ignored.
ar1 <- um(ar = "1-0.8B") autocorr(ar1, lag.max = 13) autocorr(ar1, lag.max = 13, par = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.