ks.propensity_score_matching: ks.propensity_score_matching

Description Usage Arguments

View source: R/ks.propensity_score_matching.R

Description

Propensity score matching.

Usage

1
2
3
4
5
6
ks.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/miRNAselector documentation built on Oct. 10, 2020, 9:03 a.m.