CommencerCommencer gratuitement

Finding who is talking to whom

Recall from the first lesson that cliques are complete subgraphs within a larger undirected graph. When we look at the clique structure of a conversational graph in Twitter, it tells us who is talking to whom. One way we can use this information is to see who might be interested in talking to other people. It's easy to see how this basic information could be used to construct models of suggested users to follow or interact with.

Cet exercice fait partie du cours

Case Studies: Network Analysis in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Get size 3 cliques
list_of_clique_vertices <- cliques(___, min = ___, max = ___)

# Loop over cliques, getting IDs
clique_ids <- lapply(___, as_ids)

# See the result
clique_ids
Modifier et exécuter le code