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.
get_family(node, df, class.str)
A vector containing the node and its family members.
A node in the bayesian network.
An adjacency list representing the network, formatted as a data frame.
The name of the class node.