BDgraph (version 2.72)

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

Description

Visualizes structure of the simulated graph for an object of S3 class "sim", from function bdgraph.sim.

Usage

# S3 method for sim
plot( x, ... )

Arguments

x

object of S3 class "sim", from function bdgraph.sim.

...

additional plotting parameters. See plot.graph and for the complete list igraph.plotting of R package igraph.

Author

Reza Mohammadi a.mohammadi@uva.nl and Ernst Wit

References

Mohammadi, R. and Wit, E. C. (2019). BDgraph: An R Package for Bayesian Structure Learning in Graphical Models, Journal of Statistical Software, 89(3):1-30, tools:::Rd_expr_doi("10.18637/jss.v089.i03")

See Also

graph.sim, bdgraph.sim, plot.graph, plot.igraph

Examples

Run this code
set.seed( 10 )

# 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