strata_match_nstrat: Match without Stratification

View source: R/match_functions.R

strata_match_nstratR Documentation

Match without Stratification

Description

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

Usage

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 April 1, 2022, 9:48 p.m.