These functions include ways to take a census of the positions of nodes in a network:
net_by_dyad()
returns a census of dyad motifs in a network.
net_by_triad()
returns a census of triad motifs in a network.
net_by_mixed()
returns a census of triad motifs that span
a one-mode and a two-mode network.
net_by_dyad(.data)
net_by_triad(.data)
net_by_mixed(.data, object2)
Alejandro Espinosa 'netmem'
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
A second, two-mode migraph-consistent object.
Davis, James A., and Samuel Leinhardt. 1967. “The Structure of Positive Interpersonal Relations in Small Groups.” 55.
Hollway, James, Alessandro Lomi, Francesca Pallotti, and Christoph Stadtfeld. 2017. “Multilevel Social Spaces: The Network Dynamics of Organizational Fields.” Network Science 5(2): 187–212. doi:10.1017/nws.2017.8
Other motifs:
motif_brokerage
,
motif_diffusion
,
motif_node
net_by_dyad(manynet::ison_algebra)
#> # A tibble: 1 × 3
#> Mutual Asymmetric Null
#> <dbl> <dbl> <dbl>
#> 1 68 8 44
net_by_triad(manynet::ison_adolescents)
#> # A tibble: 1 × 6
#> `003` `012` `102` `201` `210` `300`
#> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 13 0 29 11 0 3
marvel_friends <- to_unsigned(ison_marvel_relationships, "positive")
(mixed_cen <- net_by_mixed(marvel_friends, ison_marvel_teams))
#> # A tibble: 1 × 10
#> `22` `21` `20` `12` `11D` `11U` `10` `02` `01` `00`
#> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 1137 0 1702 7064 0 0 22774 30856 0 130765