print.ssgraph: Print function for 'S3' class '"ssgraph"'

View source: R/ssgraph.R

print.ssgraphR Documentation

Print function for S3 class "ssgraph"

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 class 'ssgraph'
print( x, ... )

Arguments

x

An object of S3 class "ssgraph", from function ssgraph.

...

System reserved (no specific usage).

Author(s)

Reza Mohammadi a.mohammadi@uva.nl

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

Mohammadi, A. and Wit, E. C. (2015). Bayesian Structure Learning in Sparse Gaussian Graphical Models, Bayesian Analysis, 10(1):109-138

Mohammadi, A. et al (2017). Bayesian modelling of Dupuytren disease by using Gaussian copula graphical models, Journal of the Royal Statistical Society: Series C, 66(3):629-645

See Also

ssgraph

Examples

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

## End(Not run)

ssgraph documentation built on Dec. 28, 2022, 2:37 a.m.