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

View source: R/structure.R

structureR Documentation

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)

Arguments

gmgm

An object of class gmbn or gmdbn.

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.

Examples

data(gmbn_body)
struct_1 <- structure(gmbn_body)

data(gmdbn_air)
struct_2 <- structure(gmdbn_air)


gmgm documentation built on Sept. 9, 2022, 1:07 a.m.