find_roots: find roots in graphs

View source: R/parentslist.R

find_rootsR Documentation

find roots in graphs

Description

find roots in graphs

Usage

find_roots(x)

Arguments

x

a graph encoded as list of parents.

Value

nodes with 0 incoming edges, that is with 0 in-degree.


gherardovarando/stagedtrees documentation built on July 5, 2025, 12:35 a.m.