R/calculate_centrality.R
calculate_centrality.Rd
Make a network based on measures of centrality.
calculate_centrality(dataset, from, to, directed = TRUE, damping = 0.85)
A tibble where each row is a separate post.
Person retweeting e.g. sender
Person being retweeted e.g. original_author
Whether graph should be directed or undirected
Passed to page_rank for damping factor
a list of edges - for make_retweet_network function - and user data - a table of metrics