Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


migraph (version 0.8.13)

grab: Helpers to grab various attributes from nodes or edges in a graph

Description

Helpers to grab various attributes from nodes or edges in a graph

Usage

node_names(object)

node_attribute(object, attribute)

edge_attribute(object, attribute)

edge_weights(object)

graph_nodes(object)

graph_edges(object)

graph_dims(object)

graph_node_attributes(object)

graph_edge_attributes(object)

Arguments

object

A data frame edgelist, matrix, igraph, tidygraph, or network object.

attribute

An attribute name.