Error in networkDynamic(thenetwork, edge.spells = PHDynamicEdges, vertex.spells = PHDynamicNodes) :
vertex.spells requires the vertex.id column to be numeric
I explicitly import vertex.id as a numeric column. So, it's not clear why I'm getting this message.
Update: I had to go the route of a network list to get everything to work for me. The example here was very helpful. I'm not sure if this is ideal though ...
I'm trying to replicate the results here. For some reason, when using the
networkDynamic
function, I receive the following error:I explicitly import vertex.id as a numeric column. So, it's not clear why I'm getting this message.
Here is the output from my console, including the output from
sessionInfo()
: console-output-from-temporal-network-analysis-with-r.txtHere is the R code I'm using: temporal-network-analysis-with-r.R.txt
Here are the csv files downloaded from the aforementioned website: TNAWR_DynamicNodes.csv TNAWR_DynamicEdges.csv TNAWR_StaticEdgelist.csv TNAWR_VertexAttributes.csv