> Can someone suggest how I can remove the NA's from the g to be able to 
> calculate the assortaitivity?

g <- delete.vertices(g, which(is.na(V(g)$vaccination))) if you are using igraph 
0.6. (You have to subtract 1 from the results of which() if you are using 
igraph 0.5.x or earlier).

Best,
T.


_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to