Description Usage Arguments Value Examples
plot_bn
generates a plot of the Bayesian Network structure.
1 |
structure |
A string of the relationships between variables from
|
ht |
The height of the plot. |
The output is a plot of the Bayesian Network structure.
1 2 3 | adult_data <- split_data(adult[1:100,], 70)
bn_learn = gen_bn_learn(adult_data$training_set, 'hc')
plot_bn(bn_learn$structure)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.