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