Description Usage Arguments See Also Examples
A wrapper around stats::acf()
to make easy ACF plots in the ggplot2 system.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
x |
a univariate or multivariate (not |
lag.max |
maximum lag at which to calculate the acf. Default is 10*log10(N/m) where N is the number of observations and m the number of series. Will be automatically limited to one less than the number of observations in the series. |
type |
character string giving the type of acf to be computed.
Allowed values are
|
plot |
A logical indicating whether the original base plot graphic should be displayed.
Generally this should be left to its default value of |
na.action |
function to be called to handle missing
values. |
demean |
logical. Should the covariances be about the sample means? |
... |
further arguments to be passed to |
color |
color of reference lines (use "transparent" to hide) |
fill |
fill color for ACF plot |
alpha |
opacity of fill for ACF plot |
data |
a data frame (or other object) in which to evaluate |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.