fa {BCDAG}R Documentation

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

Description

This function finds the family (union of node and its parents) of node in DAG

Usage

fa(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 family of node in DAG


[Package BCDAG version 1.0.0 Index]