Learn R Programming

mully (version 2.1.38)

getIDNode: Get the id of a node

Description

Get the id of a node

Usage

getIDNode(g, nameNode)

Value

The id of the specified node as an integer

Arguments

g

The input graph

nameNode

The name of the node

Examples

Run this code
g=mully::demo()
getIDNode(g,"g1")

Run the code above in your browser using DataLab