summary {gmgm}R Documentation

Summarize a Gaussian mixture model or graphical model

Description

This function summarizes a Gaussian mixture model or graphical model.

Usage

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

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

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

Arguments

object

An object of class gmm, gmbn or gmdbn.

...

Unused arguments from the generic function.

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.

Examples

data(gmm_body)
summ_1 <- summary(gmm_body)

data(gmbn_body)
summ_2 <- summary(gmbn_body)

data(gmdbn_air)
summ_3 <- summary(gmdbn_air)


[Package gmgm version 1.1.2 Index]