fm2ggplot: Convert Fama-Macbeth regression to ggplot object

fm2ggplotR Documentation

Convert Fama-Macbeth regression to ggplot object

Description

Convert Fama-Macbeth regression to ggplot object

Usage

fm2ggplot(x, y, n = 1, ci = 0.95, fill = "grey", alpha = 0.1, ...)

Arguments

x

vector of time index (x-axis).

y

numeric vector of estimates (y-axis).

n

number of periods for rolling averages.

ci

level of the confidence intervals.

fill

color of the confidence intervals.

alpha

transparency of confidence intervals.

...

additional arguments passed to geom_line aesthetic mappings.

Value

ggplot object


eguidotti/eap documentation built on Sept. 4, 2024, 3:43 a.m.