plot_graph: Plot graphical model

View source: R/plot_graph.R

plot_graphR Documentation

Plot graphical model

Description

Plot the conditional dependence between variables on the latent scale. The assocations between variables are computed from the precision matrices from the MCMC, and the percentage of edges to be included in the graph is determined by the edge_perc value.

Usage

plot_graph(GCMlasso_obj = CMlasso_obj, var, edge_perc, seed = 1)

Arguments

GCMlasso_obj

GCMlasso object.

var

variables in the graph.

edge_perc

cut-off quantile value of edge inclusion.

seed

a random integer.

Examples

plot_graph(GCMlasso_obj,var=1:15,edge_perc=0.65)


tuanio/GCMlasso documentation built on April 26, 2022, 6:01 p.m.