removeSelfLoops: Remove self loops from a graphNEL

Description Usage Arguments Value Examples

Description

Remove the self loops that a present in the graph graphNEL object

Usage

1

Arguments

graph

a graphNEL object

Value

a graphNEL object

#' @rdname graph-processing

Examples

1
2
3
4
  graph <- gRbase::dag(c("me","ve"),c("me","al"),c("me","me"),
    c("ve","al"),c("al","an"),
    c("al","st"),c("an","st"))
  removeSelfLoops(graph)

cavei/houseOfClipUtility documentation built on May 12, 2019, 5:23 p.m.