strata_match_nstrat: Match without Stratification

Description Usage Arguments Value

View source: R/match_functions.R

Description

Not meant to be called externally. Match a data set without stratifying. Used to compare performance with and without stratification.

Usage

1
strata_match_nstrat(object, model = NULL, k = 1)

Arguments

object

a strata object

model

(optional) formula for matching. If left blank, all columns of the analysis set in object will be used as covariates in the propensity model or mahalanobis match (except outcome, treatment and stratum)

k

the number of control individuals to be matched to each treated individual. If "k = full" is used, fullmatching is done instead of pairmatching

Value

a named factor with matching assignments


raikens1/stratamatch documentation built on May 27, 2021, 10:13 p.m.