Learn R Programming

RedeR (version 1.20.0)

getContainerComponets: Get container components.

Description

Method to get components (nested objects) of a specific container from an active RedeR session.

Usage

getContainerComponets(obj, container)

Arguments

obj
Object of RedPort Class.
container
Name of the container in the graph

Value

Returns all nested objects assigned to a container

See Also

RedPort

Examples

Run this code

rdp <- RedPort('MyPort') 
el<-matrix(c('n1','n2','n3','n4'), ncol=2, byrow=TRUE)
g <- graph.edgelist(el)

## Not run: 
# 
#   calld(rdp)
#   addGraph( rdp, g, layout.kamada.kawai(g) )
#   nestNodes( rdp, c('n1','n2') )
#   nestNodes( rdp, c("n3","n4") ) 
#   updateGraph(rdp)
#   getContainerComponets(rdp, "N0")
# ## End(Not run)  

Run the code above in your browser using DataLab