psm | R Documentation |
execute propensity match and return match result object with match table
psm(
sample,
id,
treat,
pscore,
...,
match_fun = nearest_match,
result_handle_fun = NULL
)
sample |
a data.table object, one line per individual |
id |
name of a column used to identify individual |
treat |
name of a column used to identify treated status |
pscore |
name of a column for propensity score |
args |
a list contain element to be passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.