ComenzarEmpieza gratis

Compute the in-degree scores

In a retweet network, the in-degree of a user indicates the number of times the user's posts are retweeted.

Users with high in-degrees are influential as their tweets are retweeted many times.

In this exercise, you will identify users who can be used to initiate branding messages of a travel portal.

The retweet network on #travel has been pre-loaded as nw_rtweet.

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

Este ejercicio forma parte del curso

Analyzing Social Media Data in R

Ver curso

Instrucciones del ejercicio

  • Compute in-degree scores from the retweet network.
  • Sort the in-degree scores in decreasing order.
  • View users with the top 10 in-degree scores.

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# Compute the in-degree scores from the retweet network
in_degree <- ___(___, mode = c("___"))

# Sort the in-degree scores in decreasing order
in_degree_sort <- ___(___, decreasing = ___)

# View users with the top 10 in-degree scores
___[1:10]
Editar y ejecutar código