modes-method: Retrieve the modes from a model.

Description Usage Arguments Value Examples

Description

The iteration which maximizes log likelihood and log prior is found. The estimates for each parameter at this iteration are retrieved.

For a mixture model with K components, there are K! possible modes. One can permute the ordering of the modes and assign the permuted order to a MixtureModel derived class by this method.

Usage

1
2
3
4
5
6
7
8
9
modes(object)

modes(object) <- value

## S4 method for signature 'MixtureModel'
modes(object)

## S4 replacement method for signature 'MixtureModel'
modes(object) <- value

Arguments

object

a MixtureModel-derived class

value

a list of the modes. See mode(object) to obtain the correct format of the list.

Value

A list of the modes of each parameter

Examples

1

CNPBayes documentation built on May 6, 2019, 4:06 a.m.