Skip to content

Add pairs_containing function #22

@MHenderson

Description

@MHenderson
pairs_containing <- function(P, x) {
  P[map_lgl(map(P, `%in%`, x), ~.[1] | .[2])]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions