R/networkGraphs.R
applyComponentFilter.Rd
This function removes any graph vertices that are in components that fall outside of the specified component size range.
applyComponentFilter(g, component_type = "strong", component_range)
igraph graph
object.
Character string. Use strongly or weakly connected components by specifying "strong"
or
"weak"
. Ignored for undirected graphs. Default is "strong"
.
Numeric vector. Min and max values or size range of component.
An igraph graph object.