Description Usage Arguments Examples
This function allows you to learn a undirected graph from a dataset using the Chow-Liu algorithm.
1 2 3 4 5 6 7 8 |
df |
Dataset. |
whitelist |
A data frame with two columns, containing a set of arcs to be included in the graph. |
blacklist |
A data frame with two columns, containing a set of arcs not to be included in the graph. |
m |
Size of training set (optional). Default: nrow(df)/2 |
to |
Output format ('adjacency', 'edges', 'graph', 'igraph', or 'bnlearn') (optional). |
seed |
Seed used for random selection. Default: NULL |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.