UnDiDObjPlot method for UnDiDObj
# S3 method for UnDiDObj
plot(
x,
event = FALSE,
event_window = NULL,
ci = 0.95,
lwd = 1,
legend = "topright",
...
)A UnDiDObj object
Logical. If TRUE, creates an event study plot. If
FALSE (default), creates a parallel trends plot.
Numeric vector of length 2 specifying the event window
as c(start, end). Default is NULL (use all available periods).
Numeric between 0 and 1 specifying confidence level. Default is 0.95.
Linewidth arg passed to lines(), abline(), and segments().
Defaults to 1.
Keywords for indicating desired legend location. Defaults to
"topright". Other options include any of the keywords used as
x in legend(x, ...) or NULL to omit a legend.
other arguments passed to plot