Sampler | R Documentation |
Sampling from the joint distribution of all applicable nodes in the Bayesian network.
Sampler(tree, n)
tree |
a |
n |
a |
a dataframe
of generated data
Han Yu
Cowell, R. G. (2005). Local propagation in conditional Gaussian Bayesian networks.
Journal of Machine Learning Research, 6(Sep), 1517-1550.
Yu H, Moharil J, Blair RH (2020). BayesNetBP: An R Package for Probabilistic Reasoning in Bayesian
Networks. Journal of Statistical Software, 94(3), 1-31. <doi:10.18637/jss.v094.i03>.
data(toytree) Sampler(tree = toytree, n = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.