greedy: Greedy one-to-one matching of pairs

Description Usage Arguments Details

View source: R/greedy.R

Description

Greedy one-to-one matching of pairs

Usage

1
greedy(x, y, weight)

Arguments

x

id's of lhs of pairs

y

id's of rhs of pairs

weight

weight of pair

Details

Pairs with the highest weight are selected as long a neither the lhs as the rhs are already selected in a pair with a higher weight.


reclin documentation built on Nov. 23, 2021, 9:09 a.m.