Create a retweet network
The core step in network analysis is to create a network object like a retweet network as it helps analyze the inter-relationships between the nodes.
Understanding the position of potential customers on a retweet network allows a brand to identify key players who are likely to retweet posts to spread brand messaging.
Can you create a retweet network on #travel
using the matrix saved in the previous exercise?
The matrix rtwt_matrx
and the library igraph
have been pre-loaded for this exercise.
This exercise is part of the course
Analyzing Social Media Data in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Convert the matrix to a retweet network
nw_rtweet <- ___(el = ___, directed = ___)