MulaiMulai sekarang secara gratis

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.

Latihan ini adalah bagian dari kursus

Case Studies: Network Analysis in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# 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
Edit dan Jalankan Kode