Description Usage Arguments Value
Single iteration of weight demean w.r.t. continuous control.
1 | computeWeightControl(dt, w_i, denom, c)
|
dt |
data.table. |
w_i |
Character. Weight to demean. |
denom |
Numeric. Relative size of untreated population. |
c |
Character. Name of the control to demean on. |
Void. Mutate the weight vector in the original data.table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.