get_graph {GGMnonreg}R Documentation

Get Graph

Description

Extract the necessary ingredients to visualize the conditional dependence structure.

Usage

get_graph(x)

Arguments

x

An object of class ggmnonreg

Value

A list including two matrices (the weighted adjacency and adjacency matrices)

Examples

# data
Y <- ptsd

# estimate graph
fit <- ggm_inference(Y, boot = FALSE)

# get info for plotting
get_graph(fit)

[Package GGMnonreg version 1.0.0 Index]