> I couldn't find the package sparseMatrix.
Ah, sorry, I meant the Matrix package of course.

>> pairs <- count(matrix(memb[get.edgelist(g)], ncol=2))
> #  x.1 x.2 freq
> # 1  NA  NA   42
>
> The pairs have values 'NA' in the 1st and 2nd column.
What does get.edgelist(g) return? Does it return the proper edge list
of the graph?

T.

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

Reply via email to