mark_triangles {manynet}R Documentation

Marking ties based on structural properties

Description

These functions return logical vectors the length of the ties in a network identifying which hold certain properties or positions in the network.

They are most useful in highlighting parts of the network that are cohesively connected.

Usage

tie_is_triangular(.data)

tie_is_transitive(.data)

tie_is_triplet(.data)

tie_is_cyclical(.data)

tie_is_simmelian(.data)

tie_is_forbidden(.data)

tie_is_imbalanced(.data)

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

See Also

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

Examples

ison_monks %>% to_uniplex("like") %>% 
  mutate_ties(tri = tie_is_triangular()) %>% 
  graphr(edge_color = "tri")
ison_adolescents %>% to_directed() %>% 
  mutate_ties(trans = tie_is_transitive()) %>% 
  graphr(edge_color = "trans")
ison_adolescents %>% to_directed() %>% 
  mutate_ties(trip = tie_is_triplet()) %>% 
  graphr(edge_color = "trip")
ison_adolescents %>% to_directed() %>% 
  mutate_ties(cyc = tie_is_cyclical()) %>% 
  graphr(edge_color = "cyc")
ison_monks %>% to_uniplex("like") %>% 
  mutate_ties(simmel = tie_is_simmelian()) %>% 
  graphr(edge_color = "simmel")
generate_random(8, directed = TRUE) %>% 
  mutate_ties(forbid = tie_is_forbidden()) %>% 
  graphr(edge_color = "forbid")
tie_is_imbalanced(ison_marvel_relationships)

[Package manynet version 1.5.1 Index]