MP
objects using ggplot2
A function to plot MP
objects
# S3 method for MP
ggdid(
object,
ylim = NULL,
xlab = NULL,
ylab = NULL,
title = "Group",
xgap = 1,
ncol = 1,
legend = TRUE,
...
)
either a MP
object or AGGTEobj
object
optional y limits for the plot; settng 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.
The number of columns to include in the resulting plot. The default is 1.
Whether or not to include a legend (which will indicate color
of pre- and post-treatment estimates). Default is TRUE
.
other arguments