LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Analyzing Social Media Data in R

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Categorize follower counts above and below 500
followers$follow <- ___(followers$___ > ___, "1", "0")
head(followers)
Code bearbeiten und ausführen