graph_to_nodelist: Extract node list of a graph object.

Description Usage Arguments Value Examples

Description

Extract node list of a graph object.

Usage

1

Arguments

g

An igraph graph object.

Value

An |N| by 1 tibble, where |N| is the number of nodes in g.

Examples

1
2
g0 <- igraph::graph_from_data_frame(data.frame(a = c("1", "2"), b = c("2", "3")))
graph_to_nodelist(g0)

clement-lee/mmsbmdag documentation built on May 31, 2019, 4:59 a.m.