These functions use bipartite_projection
to
compute the projections of an affiliation network onto the actor or event
nodes.
mode_projection(graph, mode = 1, name = "name") actor_projection(graph, ...) event_projection(graph, ...) actor.projection(graph, ...) event.projection(graph, ...)
graph | An affiliation network. |
---|---|
mode | Numeric or character; whether to project onto actors ( |
name | Character; the attribute of the actor or event nodes in
|
... | Arguments passed to |
Original igraph functions:
bipartite_projection
data(chicago1960s) tab <- table(V(chicago1960s)$type) proj <- actor_projection(chicago1960s) vcount(proj) == tab[1]#> FALSE #> TRUEproj <- event_projection(chicago1960s) vcount(proj) == tab[2]#> TRUE #> TRUE