find_matches_and_return_indices: helper function to report matches between vectors

View source: R/helper-functions.R

find_matches_and_return_indicesR Documentation

helper function to report matches between vectors

Description

helper function to report matches between vectors

Usage

find_matches_and_return_indices(source, target, match_fcn = base::match)

Arguments

source

source vector for finding matches from

target

target vector in which to find matches

match_fcn

a function that does matching between source and target. Default base::match. Use revealcore::match_df for data frames.

Value

list(match_res, source_matched_idx, source_unmatched_idx, target_matched_idx)


Paradigm4/revealcore documentation built on May 21, 2023, 9:57 a.m.