Description Usage Arguments Value
View source: R/02_analyze_data.R
.. content for details ..
1 2 | augment_counterfactuals(data, outcome_name, counter_names, A_name,
A_levels)
|
data |
data_frame containing outcome, treatment, counterfactual outcomes under each one of three treatment values (0,1,2). |
outcome_name |
name of the outcome variable. |
counter_names |
names of the three counterfactual outcome variables |
A_name |
name of the treatment variable |
A_levels |
three levels for the treatment variable |
data_frame that is three times larger containing counterfactual outcomes for each individuals, weights are calculated from the true PS.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.