DiD_count | R Documentation |
DD
.Count the treated/control from DD
.
Aggregates results from DD
.
DiD_count(x)
DiD_aggreg(x, DiD_keep = c(1, 4), by_DiD = FALSE, ...)
x |
output from |
DiD_keep |
which to look at |
by_DiD |
DiD specific? |
... |
grouping vars... time |
DD
for the DD function.
data <- sim_dat(N=100)
DD_out <- DD(data=data)
DiD_aggreg(x=DD_out, by_DiD = FALSE)
DiD_aggreg(x=DD_out, by_DiD = TRUE)
DiD_count(x=DD_out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.