get_ancestors: Return a vector of all 'upstream' vertices in a graph from a...

Description Usage Arguments Value See Also Examples

View source: R/paths.R

Description

Return a vector of all 'upstream' vertices in a graph from a given vertex

Usage

1

Arguments

g

The graph from which to get the children

v

The 'name' of the vertex to get ancestors for

Value

A vector of the 'name's of ancestor vertices from v to root Class

See Also

get_ancestors

Examples

1
2
3
4
## Not run: 
get_ancestors(NVC_graph, "856963")

## End(Not run)

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