This multilevel network ties 53 Marvel comic book characters to each other and to the teams they belong to. The "affiliation" ties offer a two-mode affiliation network of 53 Marvel comic book characters and their affiliations to 141 teams. The "relationship" ties offer a one-mode signed network of friendships and enmities between the 53 Marvel comic book characters. Friendships are indicated by a positive sign in the tie sign attribute, whereas enmities are indicated by a negative sign in this edge attribute.

The two layers are the two levels of the network: the relationships run within the characters, and the affiliations between the characters and the teams. Since the layers are the levels, describe_network() reports the network as multilevel and not also as multiplex or two-mode, though is_multiplex() and is_twomode() both mark it TRUE.

Note that 69 pairs of characters hold two relationship ties rather than one, which tie_is_parallel() marks, covering 138 of the 1241 ties. Since as_matrix() sums the signs of the ties joining a pair of nodes, the 68 pairs holding both a friendship and an enmity report 0 in the matrix, which is indistinguishable from an absent tie, and the one pair holding two enmities reports -2. Read these relationships from the ties table rather than from a matrix.

data(fict_marvel)

Format

#>
#> -- # Marvel universe -----------------------------------------------------------
#> # A labelled, complex, signed, multilevel network of 53 characters and 141
#> teams and 558 relationship ties and 683 affiliation ties (138 parallel)
#>
#> -- Nodes
#> # A tibble: 194 x 11
#>   label         mode   Gender Appearances Attractive  Rich Intellect Omnilingual
#>   <chr>         <chr>  <chr>        <int>      <int> <int>     <int>       <int>
#> 1 Abomination   chara~ Male           427          0     0         1           1
#> 2 Ant-Man       chara~ Male           589          1     0         1           0
#> 3 Apocalypse    chara~ Male          1207          0     0         1           1
#> 4 Beast         chara~ Male          7609          1     0         1           0
#> 5 Black Panther chara~ Male          2189          1     1         1           0
#> 6 Black Widow   chara~ Female        2907          1     0         1           0
#> # i 188 more rows
#> # i 3 more variables: PowerOrigin <chr>, UnarmedCombat <int>, ArmedCombat <int>
#>
#> -- Ties
#> # A tibble: 1,241 x 4
#>    from    to weight layer
#>   <int> <int>  <dbl> <chr>
#> 1     1     1     -1 relationship
#> 2     1     4     -1 relationship
#> 3     1    11     -1 relationship
#> 4     1    12     -1 relationship
#> 5     1    23     -1 relationship
#> 6     1    24     -1 relationship
#> # i 1,235 more rows
#>

Source

Umut Yuksel, 31 March 2017

Details

Additional nodal variables have been coded and included by Dr Umut Yuksel:

  • Gender: binary character, 43 "Male" and 10 "Female"

  • PowerOrigin: binary character, 2 "Alien", 1 "Cyborg", 5 "God/Eternal", 22 "Human", 1 "Infection", 16 "Mutant", 5 "Radiation", 1 "Robot"

  • Appearances: integer, in how many comic book issues they appeared in

  • Attractive: binary integer, 41 1 (yes) and 12 0 (no)

  • Rich: binary integer, 11 1 (yes) and 42 0 (no)

  • Intellect: binary integer, 39 1 (yes) and 14 0 (no)

  • Omnilingual: binary integer, 8 1 (yes) and 45 0 (no)

  • UnarmedCombat: binary integer, 51 1 (yes) and 2 0 (no)

  • ArmedCombat: binary integer, 25 1 (yes) and 28 0 (no)

See also https://graphics.straitstimes.com/STI/STIMEDIA/Interactives/2018/04/marvel-cinematic-universe-whos-who-interactive/index.html.