print.bdgraph: Print function for S3 class "bdgraph"
Description
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.
Usage
# S3 method for bdgraph
print( x, ... )
Arguments
x
object of S3 class "bdgraph", from function bdgraph.
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")
if (FALSE) {
# Generating multivariate normal data from a 'random' graphdata.sim <- bdgraph.sim( n = 50, p = 6, vis = TRUE )
bdgraph.obj <- bdgraph( data = data.sim )
print( bdgraph.obj )
}