print.bdgraph function

Print function for S3 class "bdgraph"

Print function for S3 class "bdgraph"

Prints the information about the selected graph which could be a graph with links for which their estimated posterior probabilities are greater than 0.5 or graph with the highest posterior probability. It provides adjacency matrix, size and posterior probability of the selected graph.

## S3 method for class 'bdgraph' print( x, ... )

Arguments

  • x: object of S3 class "bdgraph", from function bdgraph.
  • ...: system reserved (no specific usage).

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")

Author(s)

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

See Also

bdgraph, bdgraph.mpl

Examples

## Not run: # Generating multivariate normal data from a 'random' graph data.sim <- bdgraph.sim( n = 50, p = 6, vis = TRUE ) bdgraph.obj <- bdgraph( data = data.sim ) print( bdgraph.obj ) ## End(Not run)