get_match: Match by nearest neighbor

Description Usage Arguments

View source: R/rwe_tools.R

Description

Match subjects in group candidate with subject in the target group

Usage

1
get_match(target, candidate, ratio)

Arguments

target

vector of data from the target group

ratio

1:ratio match

candidates

vector of data from the candidate group


olssol/rwetools documentation built on April 18, 2021, 11:42 a.m.