largestcc {FELLA} | R Documentation

## Extract largest CC

### Description

Function `largestcc` extracts the largest connected component of an igraph object

### Usage

    largestcc(graph)

### Arguments

`graph` | Igraph object

### Value

Connected igraph object

### Examples

    library(igraph)
    g <- barabasi.game(10) + graph.empty(10)
    FELLA:::largestcc(g)

[Package FELLA version 1.14.0 Index]