Computes the girth of a network - the length of the shortest cycle. Returns Inf for acyclic graphs (trees, DAGs).
Arguments
- x
Network input: matrix, igraph, network, cograph_network, or tna object
- ...
Additional arguments passed to
to_igraph
Computes the girth of a network - the length of the shortest cycle. Returns Inf for acyclic graphs (trees, DAGs).
Network input: matrix, igraph, network, cograph_network, or tna object
Additional arguments passed to to_igraph