Spent the entire day bashing out graphs (not a euphemism at all). I did some pretty intense node analysis, and then some plotting. This what I used for plotting This is the final result — one of the smaller graphs. Just as a final note. I freaking LOVE MacVim.
Degree Centrality measures how connected an actor is within a social group. A very simple way of calculating this is by simply counting the number of connection, where you end up with an integer like 4 or 12. Integers, however, don’t really work when you’re trying to compare Degree Centrality between actors in two social […]
EDIT: Here is a more up-to-date entry The objective is to draw a graph and have each node coloured according to its centrality using R. I’m starting with a large-ish data frame — a 1,430 long edge list. First thing is to make sure we’ve loaded the igraph library. Then we load the edge list […]
The objective is to turn an edgelist into a user list, and then apply Bradford’s Law from my previous post. My raw data is in edge list format, where each row represents an interaction between two community members (actors), and the actor names are separated by a single space, like this So here we have […]
Following from my long theoretical post about the people in the middle, I now need to split a very long list of users into three groups, according to the number of posts (frequency), so that each groups is responsible for 1/3 of posts. In other words, group one will be responsible for percentiles 0% to […]
Creating a simple data frame with two columns. column 1 is called var1 and column 2 is called var2 first we need to populate them (add data) we use the c() when we have a whole bunch of stuff we want to use together. Now we turn this into a data frame called dfVar That […]
The problem is that I have a large list of actors, and I need to count the number of times they have been involved in a conversation. So each time an actor participates in a conversation, their name gets written down. So I have a really long list, with a few names, that repeat several […]