Hello again
I am trying to get a subgraph of a graph where the nodes have certain
attributes. I tried
vs <- traits$Position[traits$Volume > 50]
g50 <- subgraph(g, vs)
But vs contains many NA's and the run of g50 gives the following
Traceback:
1: .Call("R_igraph_subgraph", graph, as.igraph.vs(graph, v), PACKAGE =
"igraph")
2: subgraph(g, vs)
Error in subgraph(g, vs) : caught access violation - continue with care
This seems simple, but I can't see what I am doing wrong.
Thanks in advance
Peter
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help