Learn R Programming

BDgraph (version 2.13)

plot.simulate: Plot function for "bdgraph.sim" output

Description

Visualize the structure of true graph.

Usage

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

Arguments

x
An object with S3 class "simulate".
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 Wit, E. C. (2014). Bayesian structure learning in sparse Gaussian graphical models, Bayesian Analysis, acceped. http://arxiv.org/abs/1210.5371v6

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