The `removeMultiArcs`

function go through the arcs
list of a given graph and check if there are more than one
arc between two nodes. If exist more than one, the function
keeps one with minimum cost and remove the others.

1 | ```
removeMultiArcs(arcs, directed = TRUE)
``` |

`arcs` |
matrix with the list of arcs of the graph. Each row represents one arc. The first two columns contain the two endpoints of each arc and the third column contains their weights. |

`directed` |
logical value indicating whether the
graph is directed ( |

`removeMultiArcs`

returns a new list of arcs without
any of the multi-arcs founded.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.