View source: R/internal-plot.r
Basic RD plot
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | rdplot_internal_cutoff(
aggregate,
predict1,
predict0,
cutoff,
ate_label,
ate_label_size = 5,
outcome_label,
ylim,
vjust = 0,
hjust = 0,
xlab = "Running variable",
ylab = "Average",
...
)
|
aggregate |
observed data aggregated by mass points |
predict1 |
predicted data of treated |
predict0 |
predicted data of control |
cutoff |
cutoff value |
ate_label |
In-plot text about local ATE estimates |
ate_label_size |
In-plot text size |
outcome_label |
Outcome label in plot title |
ylim |
numeric vector of limits of y-axis |
vjust |
numeric. Adjust in-plot text vertically |
hjust |
numeric. Adjust in-plot text horizontally |
xlab |
label of x-axis |
ylab |
label of y-axis |
... |
arguments of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.