Skip to contents

This function validates if any edge points to the given node.

Usage

has_parents(graph, nodes)

Arguments

graph

A graph object

nodes

A character vector of nodes to determine

Value

A logical vector with the same length as nodes