Description Usage Arguments Value Examples
Takes a didImputation estimation and return a graph of estimated parameters(for dynamic effects only).
1 |
object |
an object of class DidImputation. |
type |
Character. Type of plot. Can be either 'default' or 'IR' for impulse response style. |
ci |
Numeric. Confidence interval( 0.95 by default). |
... |
additional arguments. |
A ggplot2 object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # standard plot
res <- didImputation(y ~ 0 | i + t,
cohort = 'g',
data = did_simulated)
didplot(res)
# Plot with 99% confidence interval
didplot(res, ci = 0.99)
# Plot with Impulse response function style
didplot(res, type = 'IR')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.