View source: R/matched_set_helpers.r
extract_differences | R Documentation |
extract_differences This function calculates the differences from t-1 to 1 for treated and control units in the treatment variable. While functionality is somewhat trivial for current implementation of package, it will be needed for continuous treatment version of the package.
extract_differences(indexed.data, matched.set, treatment.variable, qoi)
indexed.data |
data that has been indexed. Rows have been named with a unique identifier. |
matched.set |
matched.set object |
treatment.variable |
string specifying treatment variable |
qoi |
string specifying QOI |
matched.set object, with differences extracted as described previously for each matched set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.