Plots a QTE Object
# S3 method for QTE
plot(
x,
plotate = FALSE,
plot0 = FALSE,
qtecol = "black",
atecol = "black",
col0 = "black",
xlab = "tau",
ylab = "QTE",
legend = NULL,
ontreated = FALSE,
ylim = NULL,
uselegend = FALSE,
legendcol = NULL,
legloc = "topright",
...
)
a QTE Object
Boolean whether or not to plot the ATE
Boolean whether to plot a line at 0
Color for qte plot. Default "black"
Color for ate plot. Default "black"
Color for 0 plot. Default "black"
Custom label for x-axis. Default "tau"
Custom label for y-axis. Default "QTE"
Vector of strings to add to legend
Boolean whether parameters are "on the treated group"
The ylim for the plot; if not passed, it will be automatically set based on the values that the QTE takes
Boolean whether or not to print a legend
Legend Colors for plotting
String location for the legend. Default "topright"
Other parameters to be passed to plot (e.g lwd)