Description Usage Arguments Details Examples
Plot Density Histogram
1 2 3 4 5 6 7 8 9 10 11 |
data |
data to be used by plot |
rv |
Running variable for regression discontinuity design |
cutoff |
Cutoff to be used as the discontinuity |
binwidth |
Bin width to be used in histogram, will guess via guess_binwidth if none is specified |
method |
method to be used for guessing binwidth |
Plots a histogram with a vertical line at the discontinuity. Useful to check for manipulation.
1 2 | # produces a density plot
density_plot(hansen_dwi, "bac1", cutoff = c(0.08))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.