get_family: Retrieve Families for a Given Node in Bayesian Network

View source: R/utils.R

get_familyR Documentation

Retrieve Families for a Given Node in Bayesian Network

Description

This function identifies and returns the family for a given node in a Bayesian network. The family is a set of nodes, which includes the node itself, its parents, and the class.

Usage

get_family(node, df, class.str)

Arguments

node

A node in the bayesian network.

df

An adjacency list representing the network, formatted as a data frame.

class.str

The name of the class node.

Value

A vector containing the node and its family members.


dplbnDE documentation built on Aug. 19, 2023, 1:07 a.m.