plot_ccf: Stem plot of a cross-correlation

View source: R/plot.R

plot_ccfR Documentation

Stem plot of a cross-correlation

Description

Stem plot of a cross-correlation

Usage

plot_ccf(ccf, title = NULL)

Arguments

ccf

Data frame with lag and r, from cross_correlation()

title

Plot title

Value

ggplot object

Examples


plot_ccf(cross_correlation(sin(1:48 / 2), cos(1:48 / 2), max_lag = 6))


varunayan documentation built on Oct. 30, 2026, 1:07 a.m.