Learn R Programming

rTRM (version 1.10.2)

getLargestComp: Gets the largest connected component

Description

Returns the largest connected component from a graph.

Usage

getLargestComp(g)

Arguments

g
an igraph object.