PlotMarginals {BayesNetBP} | R Documentation |
Plot the marginal distributions.
PlotMarginals(marginals, groups = NULL)
marginals |
the marginal distributions returned by |
groups |
names of the marginals to be shown on plots |
Plot the marginal distributions. Marginals of discrete variables are plotted as bar plots, while those of continuous variables as density plots.
Han Yu
Cowell, R. G. (2005). Local propagation in conditional Gaussian Bayesian networks. Journal of Machine Learning Research, 6(Sep), 1517-1550.
data(toytree) marg <- Marginals(toytree, c("Neu1", "Nr1i3", "chr1_42.65", "Spgl1")) PlotMarginals(marginals=marg, groups=NULL)