deleteEdges {RedeR} | R Documentation

## Remove edges from RedeR graphs.

### Description

Method to remove edges between nodes in an active RedeR session.

### Usage

    deleteEdges(obj, edges)

### Arguments

`obj` | Object of RedPort Class.
`edges` | Edge sequence as an array <array of strings>

### Value

Removes the specified edges from the graph.

### Note

Prior calling this method invoke RedeR application via XML-RPC server (i.e. 'calld').

### Author(s)

Mauro Castro

### See Also

`RedPort`

### Examples

    # Initialize igraph
    library(igraph)

    edges<-c("n1","n2","n1","n3","n1","n4","n1","n5","n1","n6","n1","n7")

    ## Not run:

      rdp <- RedPort()
      calld(rdp)
      addEdges(rdp, edges)
      deleteEdges(rdp, c("n1","n3","n1","n7") )
      updateGraph(rdp)

    ## End(Not run)

[Package RedeR version 1.40.5 Index]