R/networkGraphs.R
applyGraphFilters.Rd
This function removes isolate vertices, multiple edges between vertices and or vertex edge loops from a graph.
applyGraphFilters(g, isolates = TRUE, multi_edge = TRUE, loops_edge = TRUE)
igraph graph
object.
Logical. Include isolate vertices in graph. Default is TRUE
.
Logical. Include multiple edges between vertices in graph. Default is TRUE
.
Logical. Include vertex edge loops in graph. Default is TRUE
.
An igraph graph object.
Removing multiple edges or edge loops from a graph will simplify it and remove other edge attributes.