Learn R Programming

orbweaver (version 0.10.2)

parents: Get the parents on a node

Description

Get a list of the node ids of the parents of the provided node.

Usage

parents(graph, nodes)

Value

A character vector

Arguments

graph

A graph object

nodes

A character vector of nodes to find parents for