mark_tie_select: Marking ties for selection based on measures

mark_tie_selectR Documentation

Marking ties for selection based on measures

Description

These functions return logical vectors the length of the ties in a network:

  • tie_is_random() marks one or more ties at random.

  • tie_is_max() and tie_is_min() are more useful for converting the results from some tie measure into a mark-class object. They can be particularly useful for highlighting which tie or ties are key because they minimise or, more often, maximise some measure.

Usage

tie_is_random(.data, size = 1)

tie_is_max(tie_measure)

tie_is_min(tie_measure)

Arguments

.data

An object of a manynet-consistent class:

  • matrix (adjacency or incidence) from {base} R

  • edgelist, a data frame from {base} R or tibble from {tibble}

  • igraph, from the {igraph} package

  • network, from the {network} package

  • tbl_graph, from the {tidygraph} package

size

The number of nodes to select (as TRUE).

tie_measure

An object created by a tie_ measure.

See Also

Other marks: mark_diff, mark_nodes, mark_select, mark_ties, mark_triangles

Examples

# tie_is_max(migraph::tie_betweenness(ison_brandes))
#tie_is_min(migraph::tie_betweenness(ison_brandes))

manynet documentation built on June 23, 2025, 9:07 a.m.