removeVertices {rTRM} | R Documentation

## Remove nodes from a graph and returns the largest component

### Description

Remove nodes from a graph and returns the largest component

### Usage

    removeVertices(g, filter, keep.hanging = FALSE)

### Arguments

`g` | graph to remove nodes.
`filter` |
`keep.hanging` | (logical) whether to return the largest component or not.

### Author(s)

Diego Diez

[Package rTRM version 1.22.0 Index]