has.tags: Has.tags

View source: R/tags.R

has.tagsR Documentation

Has.tags

Description

Selects all affiliations that have one or several tags

Usage

has.tags(den, tags, result = c("affil", "name", "den"), silent = FALSE)

Arguments

den

an affiliation edge list

tags

is a character vector of tags

result

if "den" has.tags returns a character vector with unique affiliation names. If result is "name", a character vector of unique names is returned. If result is "den", a den object is returned.

silent

if TRUE the table with the number of matched positions per tag is not shown.

Examples

data(den)
has.tags(den, tags = c("Youth", "Children"))
has.tags(den, tags = c("Youth", "Children"), res = "name")
has.tags(den, tags = c("Youth", "Children"), res = "den")

antongrau/eliter documentation built on March 2, 2024, 8:05 p.m.