Learn R Programming

mully (version 2.1.38)

getNodeAttributes: Get the attributes of a node

Description

Get the attributes of a node

Usage

getNodeAttributes(g, nameNode, layerByName = FALSE)

Value

A dataframe containing the attributes of the specified node

Arguments

g

The input graph

nameNode

The name of the node

layerByName

A boolean to specify whether to export the layers by name or by ID

Examples

Run this code
g=mully::demo()
getNodeAttributes(g,layerByName = TRUE)

Run the code above in your browser using DataLab