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.

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 ...