gives covariate balance summary
1 2 3 4 5 6 7 8 | compute_balance(
data,
col_name = "balance",
treatment,
trt_indicator = 1,
outcome,
exclude = NULL
)
|
data |
data |
col_name |
column name of standardized difference means between treatment and control groups. By default, " |
treatment |
column name of treatment |
trt_indicator |
value that indicates the unit is treated, e.g. 1 or TRUE |
outcome |
outcome variable included in the data. It should be specified because it is not covariate. |
exclude |
Additional columns to exlude |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.