swap_pairs: swap_pairs

Description Usage Arguments Value

View source: R/swap_pairs.R

Description

Given a logical swap vector, switches treated and control units.

Usage

1
swap_pairs(match_list, swap)

Arguments

match_list

typical match_list entity.

swap

logical vector indicating which pairs should swap.

Value

Another match_list, but now with swapped pairs.


rzgross/uRbanmatching documentation built on Dec. 22, 2021, 8:20 p.m.