Description Usage Arguments Value Examples
This function sets up an adjacency matrix from a list of interactions between Twitter users. This function can be used to set up a mention-, following- or retweet-matrix.
1 | get_adj_matrix(user_list, mention_list)
|
user_list |
chr-vector or -list containing multiple Twitter user names |
mention_list |
a list of all interactions - e.g. following, retweet, mention - of one users with other users |
Returns an matrix containing the number of directed interactions from a user -cols- to another user -rows-
1 2 | # Setup a retweet matrix
get_adj_matrix(user_list, retweet_list)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.