knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
This package provides a wrapper for R functions acf
and pacf
for simultaneous plotting of acf and pacf.
You can install the released version of Acf from CRAN with:
install.packages("Acf")
Let's test Acf
on an AR(2) series which plots its acf and pacf.
library(Acf) e <- rnorm(1000) x <- filter(e, c(.5, .3), method="recursive") Acf(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.