plot.sim {BDgraph}R Documentation

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 class '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(s)

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, doi:10.18637/jss.v089.i03

See Also

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

Examples

set.seed( 10 )

# Generating synthetic multivariate normal data from a 'random' graph
data.sim <- bdgraph.sim( n = 10, p = 15 )
  
plot( data.sim )

[Package BDgraph version 2.72 Index]