applyComponentFilter: Filter out graph vertices not in component size range

Description Usage Arguments Value

View source: R/networkGraphs.R

Description

This function removes any graph vertices that are in components that fall outside of the specified component size range.

Usage

1
applyComponentFilter(g, component_type = "strong", component_range)

Arguments

g

igraph graph object.

component_type

Character string. Use strongly or weakly connected components by specifying "strong" or "weak". Ignored for undirected graphs. Default is "strong".

component_range

Numeric vector. Min and max values or size range of component.

Value

An igraph graph object.


VOSONDash documentation built on July 27, 2020, 5:07 p.m.