Plots the results of the ecic model, either along
the percentiles or in an event-study fashion.
ecic_plot(
object,
es_type = c("aggregated", "for_quantiles", "for_periods"),
perc_plot = NULL,
periods_plot = NULL,
xlab = NULL,
ylab = "QTE \n",
ylim = NULL,
size = 2,
zero_line = FALSE,
legend_title = "Percentiles"
)A ggplot2 object.
An ecic_table object.
If an event study was estimated with ecic, you can choose the
style of the ES plot. "aggregated" puts everything in one plot. "for_quantiles"
generates one plot for each percentile. "for_periods" generates one plot for each period.
Which percentiles to plot.
Which periods to plot.
Alternative x-axis label
Alternative y-axis label.
Define the y-axis limits.
Size of the point estimates.
Add a horizontal line at zero.
Change the title of the legend.