View source: R/cross_sectional.R
| plot_car_distribution | R Documentation |
Create a histogram of CARs across events, optionally colored by group.
plot_car_distribution(
task,
car_window = NULL,
bins = 30,
by_group = FALSE,
title = NULL
)
task |
A fitted EventStudyTask. |
car_window |
Optional two-element vector for CAR window. |
bins |
Number of histogram bins. Default 30. |
by_group |
Logical. If TRUE, color histogram by group. |
title |
Optional plot title. |
A ggplot2 object.
Other eventstudy-plots:
es_colours,
plot_diagnostics(),
plot_event_study(),
plot_stocks(),
theme_eventstudy()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.