mark_tie_select {manynet} | R 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()
andtie_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:
|
size |
The number of nodes to select (as TRUE). |
tie_measure |
An object created by a |
See Also
Other marks:
mark_diff
,
mark_nodes
,
mark_select
,
mark_ties
Examples
# tie_is_max(migraph::tie_betweenness(ison_brandes))
#tie_is_min(migraph::tie_betweenness(ison_brandes))