Learn R Programming

BDgraph (version 2.33)

plot.sim: Plot function for

Description

Visualizes structure of the true graph.

Usage

# S3 method for sim
plot( x, main = NULL, layout = layout.circle, ... )

Arguments

x
An object of S3 class "sim", 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:1501.05108v2 Mohammadi, A., F. Abegaz Yazew, E. van den Heuvel, and E. Wit (2015). Bayesian Gaussian Copula Graphical Modeling for Dupuytren Disease, arXiv:1501.04849v2

See Also

bdgraph

Examples

Run this code
## Not run: ------------------------------------
# # 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