| polblog_edgelist | R Documentation |
Political blog data set from Olhede and Wolfe (2014), which is part of the original data set from Adamic and Glance (2005). The provided edgelist is from GitHub repository of Prof. Patrick Wolfe.
data("polblog_edgelist")
polblog_edgelist is a matrix for the edge list from https://github.com/p-wolfe/network-histogram-code.
V1a numeric vector of tail vertices.
V2a numeric vector of head vertices.
First 586 blogs are liberal; remaining 638 are conservative. Nodes with zero degree need to be removed.
https://www-personal.umich.edu/~mejn/netdata/
https://github.com/p-wolfe/network-histogram-code
Adamic, L. A., & Glance, N. (2005). The political blogosphere and the 2004 US election: divided they blog. In Proceedings of the 3rd international workshop on Link discovery (pp. 36-43)
data(polblog_edgelist)
data(polblog)
#From polblog_edgelist to polblog
G<- igraph::graph_from_edgelist(as.matrix(polblog_edgelist), directed = FALSE)
G<- igraph::delete_vertices(G, igraph::degree(G) == 0)
G<- igraph::simplify(G)
polblog
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.