PlotMarginals: Plot the marginal distributions

Description Usage Arguments Details Author(s) References See Also Examples

View source: R/G2_PlotMarginals.R

Description

Plot the marginal distributions.

Usage

1
PlotMarginals(marginals, groups = NULL)

Arguments

marginals

the marginal distributions returned by Marginals for plotting

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

Marginals

Examples

1
2
3
data(toytree)
marg <- Marginals(toytree, c("Neu1", "Nr1i3", "chr1_42.65", "Spgl1"))
PlotMarginals(marginals=marg, groups=NULL)

Yam76/BayesNetBP documentation built on Aug. 23, 2019, 1:23 a.m.