I’m working on debugging some code that was written using igraph 1.2.11, while in my environment I currently have 1.4.3 (R 4.2.2). In the original code, the function contract.vertices
is used to reduce the nodes in the network based on their cluster membership. When I try to find documentation about this function, I get redirected to contract
. What is the difference between contract.vertices
and contract
, if there is any?
contract.vertices
is deprecated, and renamed to contract
. Use the latter. There is no functional difference.
I strongly recommend upgrading to 2.0.3, which has many bugfixes.