get_graph: Get Graph

Description Usage Arguments Value Examples

View source: R/plot_graph.R

Description

Extract the necessary ingredients to visualize the conditional dependence structure.

Usage

1

Arguments

x

An object of class ggmnonreg

Value

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

Examples

1
2
3
4
5
6
7
8
# data
Y <- ptsd

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

# get info for plotting
get_graph(fit)

donaldRwilliams/GGMnonreg documentation built on Nov. 13, 2021, 9:57 a.m.