selectEdges {RedeR} | R Documentation |
Select edges in an active RedeR application.
selectEdges(obj, nodeA, nodeB)
obj |
Object of RedPort Class. |
nodeA |
<string> |
nodeB |
<string> |
Mark edges – which can be handled by other methods.
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) selectEdges(rdp,"n1","n3") updateGraph(rdp) ## End(Not run)