merge_identifiers {diyar}R Documentation

Merge group identifiers

Description

Consolidate two group identifiers.

Usage

merge_ids(...)

## Default S3 method:
merge_ids(id1, id2, tie_sort = NULL, ...)

## S3 method for class 'pid'
merge_ids(id1, id2, tie_sort = NULL, ...)

## S3 method for class 'epid'
merge_ids(id1, id2, tie_sort = NULL, ...)

## S3 method for class 'pane'
merge_ids(id1, id2, tie_sort = NULL, ...)

Arguments

...

Other arguments

id1

[epid|pid|pane].

id2

[epid|pid|pane].

tie_sort

[atomic]. Preferential order for breaking tied matches.

Details

Groups in id1 are expanded by groups id2.

See Also

links; link_records; episodes; partitions

Examples

data(missing_staff_id)
dfr <- missing_staff_id
id1 <- links(dfr[[5]])
id2 <- links(dfr[[6]])
id1; id2; merge_ids(id1, id2)

[Package diyar version 0.4.1 Index]