pa {BCDAG}R Documentation

Find the parents of a node in a DAG (internal function)

Description

This function finds the set of parents of node in DAG

Usage

pa(node, DAG)

Arguments

node

numerical label of the node in DAG

DAG

(q,q) adjacency matrix of the DAG

Value

A numerical vector with the labels of the parents of node in DAG


[Package BCDAG version 1.0.0 Index]