getPropensityScore | R Documentation |
Fit propensity scores using the given covariates
getPropensityScore(df, covs)
df |
dataframe that contains a column named "treat", the treatment vector, and columns of covariates specified. |
covs |
factor of column names of covariates used for fitting a propensity score model. |
factor of fitted propensity scores.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.