Description Usage Arguments See Also Examples
These functions add actor and event nodes (as desired) to a graph while maintaining its (temporal) affiliation network structure.
| 1 2 3 4 5 | 
| graph | An affiliation network. | 
| mode | Numeric or character; whether to project onto actors ( | 
| nv, ..., attr | Arguments passed to  | 
| affiliations | A vector, or list of length  | 
| events | A vector, or list of length  | 
| actors | A vector, or list of length  | 
Original igraph functions: 
add_vertices, add_edges
Other modal queries and manipulations: dualize,
mode_counts, modes,
schedule
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(women_clique)
plot(prettify_an(add_actors(women_clique, nv = 1, events = c(7, 9))))
data(women_group)
plot(prettify_an(women_group))
actor_names <- c("Frances", "Dorothy")
cbind(
  dynamic_triad_closure(women_group, type = "local"),
  dynamic_triad_closure(
    add_events(women_group, nv = 1, actors = actor_names, time = 0),
    type = "local"
  ),
  dynamic_triad_closure(
    add_events(women_group, nv = 1, actors = actor_names, time = 367),
    type = "local"
  )
)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.