getPropensityScore: Fit propensity scores using the given covariates

getPropensityScoreR Documentation

Fit propensity scores using the given covariates

Description

Fit propensity scores using the given covariates

Usage

getPropensityScore(df, covs)

Arguments

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.

Value

factor of fitted propensity scores.


ShichaoHan/MultiObjMatch documentation built on May 3, 2022, 7:24 p.m.