Learn R Programming

SEset (version 1.0.1)

find_parents: 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

ryan2019SEset

See Also

r2_distribution