A function to plot AGGTEobj
objects
# S3 method for class 'AGGTEobj'
ggdid(
object,
ylim = NULL,
xlab = NULL,
ylab = NULL,
title = "",
xgap = 1,
legend = TRUE,
ref_line = 0,
theming = TRUE,
...
)
either a MP
object or AGGTEobj
object. See help(ggdid.MP)
and help(ggdid.AGGTEobj)
.
optional y limits for the plot; setting here makes the y limits the same across different plots
optional x-axis label
optional y-axis label
optional plot title
optional gap between the labels on the x-axis. For example,
xgap=3
indicates that the labels should show up for every third
value on the x-axis. The default is 1.
Whether or not to include a legend (which will indicate color
of pre- and post-treatment estimates). Default is TRUE
.
A reference line at this value, usually to compare confidence intervals to 0. Set to NULL to omit.
Set to FALSE to skip all theming so you can do it yourself.
other arguments