bind_matches {tidysmd}R Documentation

Bind Match Indicator Columns to a Data Frame

Description

Given a data frame .df, the function bind_matches creates binary indicator variables for each match returned by the MatchIt library and binds the resulting columns to .df. In other words, the result is the original data frame plus a column for however many matches you want to bind.

Usage

bind_matches(.df, ...)

Arguments

.df

A data frame.

...

matchit objects returned by the MatchIt package. They can be named or unnamed.

Value

.df with addition columns for every element of ...


[Package tidysmd version 0.2.0 Index]