These functions return the number of actors (nodes with
type attribute FALSE) or events (TRUE) in an
affiliation network.
actor_count(graph) event_count(graph) actor.count(graph) event.count(graph)
| graph | An affiliation network. |
|---|
Original igraph functions: vcount,
ecount
Other modal queries and manipulations: dualize,
mode_addition, modes,
schedule
data(chicago1960s) actor_count(chicago1960s)#> [1] 20event_count(chicago1960s)#> [1] 24