acf2 | R Documentation |
A wrapper for acf
that returns a single autocorrelation for
a specified lag.
acf2( x, lag.max = 10, type = c("correlation", "covariance", "partial"), plot = FALSE, na.action = na.omit, demean = TRUE, ... )
x |
a numeric vector |
lag.max |
integer specifying the autocorrelation lag |
type |
character string |
plot |
logical |
na.action |
function to handle missing observations |
demean |
logical |
... |
additional arguments passed to |
acf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.