Learn R Programming

gmgm (version 1.1.2)

summary: Summarize a Gaussian mixture model or graphical model

Description

This function summarizes a Gaussian mixture model or graphical model.

Usage

# S3 method for gmm
summary(object, ...)

# S3 method for gmbn summary(object, ...)

# S3 method for gmdbn summary(object, ...)

Value

If object is a gmm object, an integer vector containing the number of variables, mixture components and free parameters.

If object is a gmbn or gmdbn object, a list with elements:

global

An integer vector containing the global number of nodes, arcs, mixture components and free parameters (for a gmdbn object, also the number of gmbn elements).

local

For a gmbn object, an integer matrix containing the local numbers of arcs, mixture components and free parameters. For a gmdbn object, a list of integer matrices containing these statistics for each gmbn elements.

Arguments

object

An object of class gmm, gmbn or gmdbn.

...

Unused arguments from the generic function.

Examples

Run this code
data(gmm_body)
summ_1 <- summary(gmm_body)

data(gmbn_body)
summ_2 <- summary(gmbn_body)

data(gmdbn_air)
summ_3 <- summary(gmdbn_air)

Run the code above in your browser using DataLab