ancestors_graph: Return an igraph of a vertex and all its ancestors to the...

Description Usage Arguments Value See Also Examples

View source: R/graph.R

Description

Return an igraph of a vertex and all its ancestors to the root

Usage

1

Arguments

g

The graph from which to get ancestors of vertex v

v

The vertex of g from which to get 'upstream' vertices

Value

A subgraph of g with v and its ancestors

See Also

children_graph

Examples

1

jacob-ogre/USNVC documentation built on May 18, 2019, 8 a.m.