Learn R Programming

rTRM (version 1.10.2)

removeVertices: 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.