Learn R Programming

diyar (version 0.4.0)

merge_identifiers: Merge group identifiers

Description

Consolidate two group identifiers.

Usage

merge_ids(...)

# S3 method for default merge_ids(id1, id2, tie_sort = NULL, ...)

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

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

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

Arguments

...

Other arguments

id1
id2
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

Run this code
# NOT RUN {
data(missing_staff_id)
dfr <- missing_staff_id
id1 <- links(dfr[[5]])
id2 <- links(dfr[[6]])
id1; id2; merge_ids(id1, id2)
# }

Run the code above in your browser using DataLab