find_parents: Return parent indices from a (weighted) DAG for a given child

View source: R/find_parents.R

find_parentsR Documentation

Return parent indices from a (weighted) DAG for a given child

Description

Return parent indices from a (weighted) DAG for a given child

Usage

find_parents(mat, child)

Arguments

mat

An p \times p weights or adjacency matrix

child

Index giving the position of the child node

Value

a vector containing index numbers defining the parent nodes

References

\insertRef

ryan2019SEset

See Also

r2_distribution


SEset documentation built on March 18, 2022, 5:51 p.m.