get_family | R Documentation |
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)
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. |
A vector containing the node and its family members.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.