PerformanceAnalytics (version 1.5.2)

chart.ACF: Create ACF chart or ACF with PACF two-panel chart

Description

Creates an ACF chart or a two-panel plot with the ACF and PACF set to some specific defaults.

Usage

chart.ACF(R, maxlag = NULL, elementcolor = "gray", main = NULL, ...)

chart.ACFplus(R, maxlag = NULL, elementcolor = "gray", main = NULL, ...)

Arguments

R

an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns

maxlag

the number of lags to calculate for, optional

elementcolor

the color to use for chart elements, defaults to "gray"

main

title of the plot; uses the column name by default.

any other passthru parameters

See Also

plot

Examples

Run this code
# NOT RUN {
data(edhec)
chart.ACFplus(edhec[,1,drop=FALSE])

# }

Run the code above in your browser using DataCamp Workspace