View source: R/OmicSelector_propensity_score_matching.R
OmicSelector_propensity_score_matching | R Documentation |
Propensity score matching.
OmicSelector_propensity_score_matching(
dataset,
match_by = c("age_at_diagnosis", "gender.x"),
method = "nearest",
distance = "logit"
)
dataset |
Original dataset. |
match_by |
Vector describing by which variables should the dataset be matched. |
method |
Passed to 'matchit()'. |
distance |
Passed to 'matchit()'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.