event_study_graph: Graphs an event study with no labs.

View source: R/event_study_graph.R

event_study_graphR Documentation

Graphs an event study with no labs.

Description

event_study_graph returns a ggplot object of the event study graph.

Usage

event_study_graph(x, window_size, reference_period = window_size)

Arguments

x

a regression fixest object.

window_size

the length of the event window.

reference_period

the period to be omitted, defaults to period before. This is found by counting from last period to period wanted.

Details

This function relies on dplyr, ggplot, and tibble packages to work.

Examples

event_study_graph(x, 8, 8)


michaeltopper1/ifc documentation built on Jan. 30, 2023, 10:08 a.m.