get_graph: Extract Graph from 'ggmncv' Objects

Description Usage Arguments Value Examples

View source: R/plot_graph.R

Description

The fitted model from ggmncv contains a lot of information, most of which is not immediately useful for most use cases. This function extracts the weighted adjacency (partial correlation network) and adjacency matrices.

Usage

1

Arguments

x

An object of class ggmncv.

...

Currently ignored.

Value

Examples

1
2
3
4
5
6
7
Y <- na.omit(bfi[,1:5])

fit <- ggmncv(cor(Y),
              n = nrow(Y),
              progress = FALSE)

get_graph(fit)

GGMncv documentation built on Dec. 15, 2021, 9:10 a.m.