Learn R Programming

BDgraph (version 2.13)

summary.bdgraph: Summary function for "bdgraph" output

Description

This function gives us a summary of the result from BD-MCMC algorithm according to output from "bdgraph" function.

Usage

## S3 method for class 'bdgraph':
summary( object, vis = TRUE, layout = layout.circle, ... )

Arguments

object
An object with S3 class "bdgraph".
vis
Logical: if TRUE (default) you will see the plot result.
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 = 50, p = 6, vis = TRUE )
  
  output   <- bdgraph( data = data.sim )
  
  summary(output)
  
  summary( output, vis = FALSE )

Run the code above in your browser using DataLab