relpair_conn_comps {CKMRpop} | R Documentation |
This is a little utility function that actually gets called from
within compile_related_pairs()
so we leave it as an internal function.
This takes in the tibble Pairs, and then spits out a tibble that looks
just the same, except that after the id_1 and id_2 columns it now has a
column called conn_comp
that gives the connected component index of the
two pair members.
relpair_conn_comps(Pairs)
Pairs |
a tibble with the related pairs. It must have columns id_1 and id_2 |