Learn R Programming

gmgm (version 1.1.2)

structure: Provide the graphical structure of a Gaussian mixture graphical model

Description

This function provides the graphical structure of a Gaussian mixture graphical model.

Usage

structure(gmgm)

Value

A list with elements:

nodes

A character vector containing the nodes.

arcs

For a gmbn object, a data frame (tibble) containing the arcs. For a gmdbn object, a list of data frames (tibbles) containing the arcs of each gmbn element.

Arguments

gmgm

An object of class gmbn or gmdbn.

Examples

Run this code
data(gmbn_body)
struct_1 <- structure(gmbn_body)

data(gmdbn_air)
struct_2 <- structure(gmdbn_air)

Run the code above in your browser using DataLab