plot.QTE | R Documentation |
Plots a QTE Object
## S3 method for class '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", ... )
x |
a QTE Object |
plotate |
Boolean whether or not to plot the ATE |
plot0 |
Boolean whether to plot a line at 0 |
qtecol |
Color for qte plot. Default "black" |
atecol |
Color for ate plot. Default "black" |
col0 |
Color for 0 plot. Default "black" |
xlab |
Custom label for x-axis. Default "tau" |
ylab |
Custom label for y-axis. Default "QTE" |
legend |
Vector of strings to add to legend |
ontreated |
Boolean whether parameters are "on the treated group" |
ylim |
The ylim for the plot; if not passed, it will be automatically set based on the values that the QTE takes |
uselegend |
Boolean whether or not to print a legend |
legendcol |
Legend Colors for plotting |
legloc |
String location for the legend. Default "topright" |
... |
Other parameters to be passed to plot (e.g lwd) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.