make_tidygraph: Make an tidygraph from en edgelist and a set of nodes...

Description Usage Arguments Value

Description

Make an tidygraph from en edgelist and a set of nodes attributes.

Usage

1
make_tidygraph(x, nodes_properties = NULL)

Arguments

x

Tibble. Edge list; the two first variables have to be "from" and "to", the subsequent ones are treated as edge properties.

nodes_properties

Tibble. Properties of the nodes. The first variable has to be called "name" and contain the node id/label. Subsequent variables are treated as node properties.

Value

A tidygraph


NicolasJBM/grpcomp documentation built on May 28, 2019, 2:21 p.m.