Learn R Programming

mully (version 2.1.38)

getNode: Get a node from a graph

Description

Get a node from a graph

Usage

getNode(g, nameNode)

Value

The node as igraph.vs

Arguments

g

The input graph.

nameNode

The name of the node.

Examples

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

Run the code above in your browser using DataLab