Learn R Programming

RMOPI (version 1.1)

ggpacf: Plot the Pacf Figure

Description

Plot the Pacf figure with observations of a single variable beautifully.

Usage

ggpacf(data, lag = 10)

Value

A ggplot figure of the pacf

Arguments

data

vector of observations

lag

the maximum lag to calculate the pacf

Examples

Run this code
swan <- rGarch(len = 180)
ggpacf(swan^2, 20)

Run the code above in your browser using DataLab