Learn R Programming

BDgraph (version 2.7)

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". A list which is the result from the 'bdgraph.sim' function.
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. C. Wit (2012). Gaussian graphical model determination based on birth-death MCMC inference, arXiv:1210.5371v4. http://arxiv.org/abs/1210.5371v4

See Also

bdgraph

Examples

Run this code
data.sim <- bdgraph.sim(n = 10, p = 15)
  
  plot(data.sim)

Run the code above in your browser using DataLab