OmicSelector_propensity_score_matching: OmicSelector_propensity_score_matching

View source: R/OmicSelector_propensity_score_matching.R

OmicSelector_propensity_score_matchingR Documentation

OmicSelector_propensity_score_matching

Description

Propensity score matching.

Usage

OmicSelector_propensity_score_matching(
  dataset,
  match_by = c("age_at_diagnosis", "gender.x"),
  method = "nearest",
  distance = "logit"
)

Arguments

dataset

Original dataset.

match_by

Vector describing by which variables should the dataset be matched.

method

Passed to 'matchit()'.

distance

Passed to 'matchit()'.


kstawiski/OmicSelector documentation built on April 10, 2024, 11:11 p.m.