Learn R Programming

BDgraph (version 2.19)

plot.simulate: Plot function for S3 class "simulate"

Description

Visualize structure of the true graph.

Usage

## S3 method for class 'simulate':
plot( x, main = NULL, layout = layout.circle, ... )

Arguments

x
An object of S3 class "simulate", from function bdgraph.sim.
main
Graphical parameter (see plot).
layout
The vertex placement algorithm which is according to igraph package. The default is "layout.circle".
...
System reserved (no specific usage).

References

Mohammadi, A. and E. Wit (2015). Bayesian Structure Learning in Sparse Gaussian Graphical Models, Bayesian Analysis, 10(1):109-138 Mohammadi, A. and E. Wit (2015). BDgraph: An R Package for Bayesian Structure Learning in Graphical Models, Arxiv preprint arXiv:1501.05108v2 Mohammadi, A., F. Abegaz Yazew, E. van den Heuvel, and E. Wit (2015). Bayesian Modeling of Dupuytren Disease Using Gaussian Copula Graphical Models, Arxiv preprint arXiv:1501.04849v2

See Also

bdgraph

Examples

Run this code
# generating synthetic multivariate normal data from a 'random' graph
data.sim <- bdgraph.sim( n = 10, p = 15 )

plot( data.sim )

Run the code above in your browser using DataLab