View source: R/estimator_plans.R
residualize | R Documentation |
Residualize y and d (only called when doing treatment effect estimation)
residualize(obj, y, X, d, sample)
obj |
an EstimatorPlan object |
y |
N-vector |
X |
NxK matrix |
d |
NULL, N-vector, or NxM matrix (if multiple treatments) |
sample |
one of |
list(y=, d=)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.