find_parents {SEset}R 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

Ryan O, Bringmann LF, Schuurman NK (upcoming). “The challenge of generating causal hypotheses using network models.” in preperation.

See Also

r2_distribution


[Package SEset version 1.0.1 Index]