I would like the size of the nodes in the graph to be dependent on the calculated betweenness centrality of the vertices. How can this be done?
My current code is below:
require(igraph)
g <- read.graph("data.graphml", "graphml")
plot(g,vertex.size = x,layout = layout.fruchterman.reingold)
How can I set 'x' to be a vertex size that is dependent on the betweeness centrality of a node?