Learn R Programming

BDgraph (version 2.7)

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". A list which is the result of the BD-MCMC algorithm from the 'bdgraph' function.
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 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
# generating the data from a random graph
  data.sim <- bdgraph.sim(n = 100, p = 8, vis = TRUE)
  
  output   <- bdgraph(data.sim, mean = 0, iter = 2000)
  
  summary(output)
  
  summary(output, vis = FALSE)

Run the code above in your browser using DataLab