Learn R Programming

reclin (version 0.1.2)

greedy: Greedy one-to-one matching of pairs

Description

Greedy one-to-one matching of pairs

Usage

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.