matchPair: Matching main function

View source: R/matchResult.R

matchPairR Documentation

Matching main function

Description

Calls pairmatch to perform matching and formats results

Usage

matchPair(data, groupcol, matchon)

Arguments

data

The data.

groupcol

Name of the column containing groups to match between.

matchon

Features to match on.

Value

A list containing result and a table where each row corresponds to a matched pair: list(pair = pair, matchtable = matchtable)


avucoh/DIVE documentation built on Aug. 29, 2023, 6:02 p.m.