Description Usage Arguments Value
View source: R/propensity-weighting.R
Calculates inverse probability of treatment weights using a random forest.
1 | add_propensity_weights(df, treatment, ivs, impute_missing = FALSE)
|
df |
< |
treatment |
< |
ivs |
< |
impute_missing |
< |
<tbl_df
> Data frame with new column for propensity weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.