Learn R Programming

RedeR (version 1.20.0)

addNodes: Add nodes to RedeR graphs.

Description

Method to add nodes to an active RedeR session.

Usage

addNodes(obj, nodes)

Arguments

obj
Object of RedPort Class.
nodes
Node sequence as an array

Value

Add graph objects.

See Also

RedPort

Examples

Run this code
rdp <- RedPort('MyPort') 
nodes<-c("n1","n2","n1","n3","n1","n4","n1","n5","n1","n6","n1","n7")

## Not run: 
# 
#   calld(rdp)
#   addNodes(rdp, nodes)
#   updateGraph(rdp)
# ## End(Not run)  

Run the code above in your browser using DataLab