Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vertex.id not being recognized as numeric in vertex.spells #14

Open
tedmoorman opened this issue Jun 22, 2022 · 1 comment
Open

vertex.id not being recognized as numeric in vertex.spells #14

tedmoorman opened this issue Jun 22, 2022 · 1 comment

Comments

@tedmoorman
Copy link

I'm trying to replicate the results here. For some reason, when using the networkDynamic function, I receive the following error:

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.

Here is the output from my console, including the output from sessionInfo():
console-output-from-temporal-network-analysis-with-r.txt

Here 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

@tedmoorman
Copy link
Author

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 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant