addEdges {RedeR} | R Documentation |
Add edges to an active RedeR session.
addEdges(obj, edges)
obj |
Object of RedPort Class. |
edges |
Edge sequence as an array <array of strings>. |
Adds the specified edges to the graph.
Prior calling this method invoke RedeR application via XML-RPC server (i.e. 'calld').
Mauro Castro
# 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) updateGraph(rdp) ## End(Not run)