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

View source: R/bdgraph.sim.R

plot.simR 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, \Sexpr[results=rd]{tools:::Rd_expr_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 )

BDgraph documentation built on Sept. 11, 2024, 5:30 p.m.