CommencerCommencer gratuitement

Follower count to enhance the network plot

The users who retweet most will add more value if they have a high follower count as their retweets will reach a wider audience.

In a network plot, the combination of vertex size indicating the number of retweets by a user and vertex color indicating a high follower count provides clear insights on the most influential users who can promote a brand.

In this exercise, you will create a plot showing the most influential users.

The retweet network nw_rtweet, the dataset followers with the follower count, and vert_size created in the last exercise have all been pre-loaded.

The library igraph has been pre-loaded for this exercise.

Cet exercice fait partie du cours

Analyzing Social Media Data in R

Afficher le cours

Exercice interactif pratique

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

# Categorize follower counts above and below 500
followers$follow <- ___(followers$___ > ___, "1", "0")
head(followers)
Modifier et exécuter le code